didn't set the password to empty if we can't read the password file

This commit is contained in:
Jari Matilainen 2016-10-22 18:41:25 +02:00
commit 4466a8fea2

View file

@ -52,6 +52,7 @@ static void read_password_file(char *str, char **password)
/* file not found */
g_warning("Could not read sasl password from file: %s", (err ? err->message : "No GError set"));
g_error_free(err);
*password = g_strdup("");
return;
}