mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
irc: fix uninitialized variables in function irc_protocol_cap_sync
This commit is contained in:
@@ -373,11 +373,9 @@ irc_protocol_cap_sync (struct t_irc_server *server, int sasl)
|
||||
int sasl_requested, sasl_to_do, sasl_fail;
|
||||
int i, length, num_caps_requested;
|
||||
|
||||
if (sasl)
|
||||
{
|
||||
sasl_requested = irc_server_sasl_enabled (server);
|
||||
sasl_to_do = 0;
|
||||
}
|
||||
sasl_requested = (sasl) ? irc_server_sasl_enabled (server) : 0;
|
||||
sasl_to_do = 0;
|
||||
|
||||
ptr_cap_option = IRC_SERVER_OPTION_STRING(
|
||||
server,
|
||||
IRC_SERVER_OPTION_CAPABILITIES);
|
||||
|
||||
Reference in New Issue
Block a user