diff options
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 98d207b26..1c4fb95b5 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -181,7 +181,7 @@ int directory_handle_command(connection_t *conn) { assert(conn && conn->type == CONN_TYPE_DIR); - if(conn->inbuf_datalen < strlen(getstring)) { /* entire response available? */ + if(conn->inbuf_datalen < (int)strlen(getstring)) { /* entire response available? */ log_fn(LOG_DEBUG,"Entire command not here yet. Waiting."); return 0; /* not yet */ } |