diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-05-07 11:09:02 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-05-07 11:09:02 -0400 |
commit | f84f75c59c6b06fbef41f0f0641b604cf3192eeb (patch) | |
tree | 7084ee8ca6035e2feda77a79b09f88f7924c8942 /src/or/rendmid.c | |
parent | d2e9d1713487c5ae63ef453a11343470c1d54330 (diff) | |
download | tor-f84f75c59c6b06fbef41f0f0641b604cf3192eeb.tar.gz tor-f84f75c59c6b06fbef41f0f0641b604cf3192eeb.zip |
Make a cast less const-violating; make a field size explicit.
Diffstat (limited to 'src/or/rendmid.c')
-rw-r--r-- | src/or/rendmid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendmid.c b/src/or/rendmid.c index 391eab7f82..894bbb3c54 100644 --- a/src/or/rendmid.c +++ b/src/or/rendmid.c @@ -293,7 +293,7 @@ rend_mid_rendezvous(or_circuit_t *circ, const uint8_t *request, goto err; } - base16_encode(hexid, 9, (char*)request, 4); + base16_encode(hexid, sizeof(hexid), (const char*)request, 4); log_info(LD_REND, "Got request for rendezvous from circuit %d to cookie %s.", |