fix copy&paste error

Signed-off-by: Andreas Schneider <mail@cynapses.org>
This commit is contained in:
Bernhard R. Link
2009-09-21 20:10:38 +02:00
committed by Andreas Schneider
parent 8b21b51a78
commit 9afad28255

View File

@@ -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;
} }
} }