diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-04-08 03:26:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-04-08 03:26:44 +0000 |
commit | 31c12e265fbd135aba4c335da48ceb5a80f2859e (patch) | |
tree | b2552ae533023b4299c1e8c003e4a3f3608188f4 /src/or | |
parent | c6769a80fb7e67580c9fd905e98a417941ebdb59 (diff) | |
download | tor-31c12e265fbd135aba4c335da48ceb5a80f2859e.tar.gz tor-31c12e265fbd135aba4c335da48ceb5a80f2859e.zip |
Move a quote, fix a log.
svn:r4056
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 7641e789e3..1775f122e7 100644 --- a/src/or/connection.c +++ b/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); |