summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libssh/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/options.c b/libssh/options.c
index 404ccee..6e44db0 100644
--- a/libssh/options.c
+++ b/libssh/options.c
@@ -656,7 +656,7 @@ int ssh_options_set_status_callback(SSH_OPTIONS *opt,
* complete exchange.
*/
int ssh_options_set_timeout(SSH_OPTIONS *opt, long seconds, long usec) {
- if (opts == NULL) {
+ if (opt == NULL) {
return -1;
}