mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
minor cleanup
This commit is contained in:
parent
f2b97631e1
commit
98b391f62e
2 changed files with 6 additions and 5 deletions
|
|
@ -137,7 +137,8 @@ static scram_status process_server_first(SCRAM_SESSION_REC *session, const char
|
|||
param_count = g_strv_length(params);
|
||||
|
||||
if (param_count < 3) {
|
||||
session->error = g_strdup_printf("Invalid server-first-message: %s", data);
|
||||
/* Invalid server-first-message */
|
||||
session->error = g_strdup_printf("%s", data);
|
||||
g_strfreev(params);
|
||||
return SCRAM_ERROR;
|
||||
}
|
||||
|
|
@ -300,4 +301,4 @@ scram_status scram_process(SCRAM_SESSION_REC *session, const char *input, char *
|
|||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue