diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-05 19:23:55 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-05 19:23:55 +0000 |
commit | dec5fcd611e9865a4751379035c2bad4e57eb5e8 (patch) | |
tree | cf715227f71bdb4b27f623d4b9b5701710dad4fd /src/or/command.c | |
parent | 85654f4ab980fd91cae96e8f9c536a4cf31b2c6a (diff) | |
download | tor-dec5fcd611e9865a4751379035c2bad4e57eb5e8.tar.gz tor-dec5fcd611e9865a4751379035c2bad4e57eb5e8.zip |
r16434@catbus: nickm | 2007-11-05 14:22:40 -0500
Oops; fix compile
svn:r12387
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/command.c b/src/or/command.c index e33fe8036b..a1724dc709 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -583,7 +583,7 @@ command_process_link_auth_cell(cell_t *cell, or_connection_t *conn) { 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 @@ command_process_link_auth_cell(cell_t *cell, or_connection_t *conn) "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); |