[or-cvs] r12387: Oops; fix compile (in tor/trunk: . src/or)
nickm at seul.org
nickm at seul.org
Mon Nov 5 19:23:55 UTC 2007
Author: nickm
Date: 2007-11-05 14:23:55 -0500 (Mon, 05 Nov 2007)
New Revision: 12387
Modified:
tor/trunk/
tor/trunk/src/or/command.c
Log:
r16434 at catbus: nickm | 2007-11-05 14:22:40 -0500
Oops; fix compile
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r16434] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/command.c
===================================================================
--- tor/trunk/src/or/command.c 2007-11-05 19:19:46 UTC (rev 12386)
+++ tor/trunk/src/or/command.c 2007-11-05 19:23:55 UTC (rev 12387)
@@ -583,7 +583,7 @@
{
or_handshake_state_t *s;
char hmac[DIGEST_LEN];
- uint16 len;
+ uint16_t len;
size_t sig_len;
const char *sig;
char *checked = NULL;
@@ -607,7 +607,7 @@
"closing the connection");
goto err;
}
- len = ntohs(get_uint16(cell.payload));
+ len = ntohs(get_uint16(cell->payload));
if (len < 2 || 2+len > CELL_PAYLOAD_SIZE) {
log_fn(LOG_PROTOCOL_WARN, LD_OR, "Bad length field (%d) on LINK_AUTH cell;"
" closing the connection", (int)len);
More information about the tor-commits
mailing list