diff options
author | Bernhard R. Link <brlink@debian.org> | 2009-09-21 20:10:38 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-09-22 14:04:42 +0200 |
commit | 9afad282552ce9bfb49ea4dee37cd79d50892e04 (patch) | |
tree | 5a3641dafe2fa2d4ebaeffca2bf2c08026551bb3 /libssh/options.c | |
parent | 8b21b51a78e07a9fb0c2ea90292c5b166e44269c (diff) | |
download | libssh-9afad282552ce9bfb49ea4dee37cd79d50892e04.tar.gz libssh-9afad282552ce9bfb49ea4dee37cd79d50892e04.tar.xz libssh-9afad282552ce9bfb49ea4dee37cd79d50892e04.zip |
fix copy&paste error
Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'libssh/options.c')
-rw-r--r-- | libssh/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/options.c b/libssh/options.c index a536d4f..3db4390 100644 --- a/libssh/options.c +++ b/libssh/options.c @@ -108,8 +108,8 @@ SSH_OPTIONS *ssh_options_copy(SSH_OPTIONS *opt) { } } if (opt->bindaddr) { - new->host = strdup(opt->bindaddr); - if (new->host == NULL) { + new->bindaddr = strdup(opt->bindaddr); + if (new->bindaddr == NULL) { goto err; } } |