summaryrefslogtreecommitdiff
path: root/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.c b/src/cli.c
index cea711b1b7..44eb51ae90 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -539,7 +539,7 @@ handle_error (socket_st * hd, int err)
*/
}
- check_rehandshake (hd, ret);
+ check_rehandshake (hd, err);
return ret;
}