Browse Source

Move a quote, fix a log.

svn:r4056
Nick Mathewson 20 years ago
parent
commit
31c12e265f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/connection.c

+ 1 - 1
src/or/connection.c

@@ -542,7 +542,7 @@ static int connection_handle_listener_read(connection_t *conn, int new_type) {
   /* length of the remote address. Must be an int, since accept() needs that. */
   int remotelen = 256;
   char tmpbuf[INET_NTOA_BUF_LEN];
-  tor_assert(remotelen >= sizeof(struct sockaddr_in));
+  tor_assert((size_t)remotelen >= sizeof(struct sockaddr_in));
   memset(addrbuf, 0, sizeof(addrbuf));
 
   news = accept(conn->s,(struct sockaddr *)&addrbuf,&remotelen);