mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 02:22:36 +02:00
didn't set the password to empty if we can't read the password file
This commit is contained in:
parent
a25632f669
commit
4466a8fea2
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ static void read_password_file(char *str, char **password)
|
||||||
/* file not found */
|
/* file not found */
|
||||||
g_warning("Could not read sasl password from file: %s", (err ? err->message : "No GError set"));
|
g_warning("Could not read sasl password from file: %s", (err ? err->message : "No GError set"));
|
||||||
g_error_free(err);
|
g_error_free(err);
|
||||||
|
*password = g_strdup("");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue