mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +09:00
fix copy&paste error
Signed-off-by: Andreas Schneider <mail@cynapses.org>
This commit is contained in:
committed by
Andreas Schneider
parent
8b21b51a78
commit
9afad28255
@@ -108,8 +108,8 @@ SSH_OPTIONS *ssh_options_copy(SSH_OPTIONS *opt) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (opt->bindaddr) {
|
if (opt->bindaddr) {
|
||||||
new->host = strdup(opt->bindaddr);
|
new->bindaddr = strdup(opt->bindaddr);
|
||||||
if (new->host == NULL) {
|
if (new->bindaddr == NULL) {
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user