[or-cvs] Move a quote, fix a log.

Nick Mathewson nickm at seul.org
Fri Apr 8 03:26:46 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv12117/src/or

Modified Files:
	connection.c 
Log Message:
Move a quote, fix a log.

Index: connection.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.361
retrieving revision 1.362
diff -u -d -r1.361 -r1.362
--- connection.c	7 Apr 2005 22:03:56 -0000	1.361
+++ connection.c	8 Apr 2005 03:26:44 -0000	1.362
@@ -542,7 +542,7 @@
   /* 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);



More information about the tor-commits mailing list