1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-23 16:20:58 +03:00

config: Fix copy&paste error in error message

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 8ef249a4a4)
This commit is contained in:
Jakub Jelen
2025-03-04 13:28:52 +01:00
parent 5911d058f1
commit d245706678

View File

@ -894,9 +894,11 @@ ssh_config_parse_line(ssh_session session,
/* Here we match only one argument */
p = ssh_config_get_str_tok(&s, NULL);
if (p == NULL || p[0] == '\0') {
ssh_set_error(session, SSH_FATAL,
"line %d: ERROR - Match user keyword "
"requires argument", count);
ssh_set_error(session,
SSH_FATAL,
"line %d: ERROR - Match localuser keyword "
"requires argument",
count);
SAFE_FREE(x);
return -1;
}