diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-15 21:17:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-15 21:17:48 +0000 |
commit | e043b86f47185e0d9df53dab12d42e46c8c35b83 (patch) | |
tree | 0ebfb1bbce0fbcfa7d6e470b98d5bf90e9889a02 /src/or/rendclient.c | |
parent | bfdc366037690c74d1e6b73fc33e2f73842ed793 (diff) | |
download | tor-e043b86f47185e0d9df53dab12d42e46c8c35b83.tar.gz tor-e043b86f47185e0d9df53dab12d42e46c8c35b83.zip |
r12764@catbus: nickm | 2007-05-15 17:17:39 -0400
Enable (and cope with) more GCC 4.2 warnings.
svn:r10196
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index fad32f648f..f6d24595f4 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -141,8 +141,8 @@ rend_client_send_introduction(origin_circuit_t *introcirc, goto err; } - tor_assert(DIGEST_LEN + r <= RELAY_PAYLOAD_SIZE); /* we overran something */ payload_len = DIGEST_LEN + r; + tor_assert(payload_len <= RELAY_PAYLOAD_SIZE); /* we overran something */ if (relay_send_command_from_edge(0, TO_CIRCUIT(introcirc), RELAY_COMMAND_INTRODUCE1, |