diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-10-01 22:58:25 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-10-01 22:58:25 +0200 |
commit | 4b58ea37c0394717f51a83920ee05a40371a2fb7 (patch) | |
tree | 2426e053f80f66d95e965c4a51d9ea4ddd6cc875 | |
parent | fc63620f1e7d3a82edf3629b25bc3dccf9644af6 (diff) | |
download | weechat-4b58ea37c0394717f51a83920ee05a40371a2fb7.zip |
relay: remove useless test on num_sent
-rw-r--r-- | src/plugins/relay/relay-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c index ab830a824..c94baff45 100644 --- a/src/plugins/relay/relay-client.c +++ b/src/plugins/relay/relay-client.c @@ -956,7 +956,7 @@ relay_client_send (struct t_relay_client *client, NULL, NULL, NULL, NULL); } } - else if (num_sent < 0) + else { #ifdef HAVE_GNUTLS if (client->ssl) @@ -1128,7 +1128,7 @@ relay_client_timer_cb (const void *pointer, void *data, int remaining_calls) break; } } - else if (num_sent < 0) + else { #ifdef HAVE_GNUTLS if (ptr_client->ssl) |