Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
nviennot committed Mar 27, 2016
1 parent c50bdfc commit 8c17050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tmate-daemon-decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ static void tmate_fin(__unused struct tmate_session *session,
static void tmate_reconnect(__unused struct tmate_session *session,
__unused struct tmate_unpacker *uk)
{
/* Used by the proxy */
if (!tmate_has_proxy())
tmate_fatal("Cannot do reconnections without the proxy");
}

static void restore_snapshot_grid(struct grid *grid, struct tmate_unpacker *uk)
Expand Down
1 change: 0 additions & 1 deletion tmate-msgpack.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ void tmate_decoder_init(struct tmate_decoder *decoder, tmate_decoder_reader *rea
void tmate_decoder_get_buffer(struct tmate_decoder *decoder,
char **buf, size_t *len)
{
ssize_t current_size = msgpack_unpacker_message_size(&decoder->unpacker);
if (!msgpack_unpacker_reserve_buffer(&decoder->unpacker, UNPACKER_RESERVE_SIZE))
tmate_fatal("cannot expand decoder buffer");

Expand Down

0 comments on commit 8c17050

Please sign in to comment.