Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change idle timeout to time_t to fix signed/unsigned comparison warning

Signed-off-by: Steve Glendinning <steve@shawell.net>
  • Loading branch information...
commit 977887e548d80c46e53459f8e2f7ac60a3ebf61d 1 parent 3d1412a
@steveglen steveglen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libcli.h
View
2  libcli.h
@@ -60,7 +60,7 @@ struct cli_def {
char *buffer;
unsigned buf_size;
struct timeval timeout_tm;
- unsigned int idle_timeout;
+ time_t idle_timeout;
int (*idle_timeout_callback)(struct cli_def *);
time_t last_action;
int telnet_protocol;
Please sign in to comment.
Something went wrong with that request. Please try again.