1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

Add missing initialization of variable in function irc_sasl_mechanism_plain

This commit is contained in:
Sebastien Helleu
2010-03-09 17:06:58 +01:00
parent 7ef2f312ff
commit 23a0c0d610
+1
View File
@@ -49,6 +49,7 @@ irc_sasl_mechanism_plain (const char *sasl_username, const char *sasl_password)
char *string, *answer_base64;
int length_username, length;
answer_base64 = NULL;
length_username = strlen (sasl_username);
length = ((length_username + 1) * 2) + strlen (sasl_password) + 1;
string = malloc (length);