diff options
author | Peter Palfrader <peter@palfrader.org> | 2006-03-14 23:40:37 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2006-03-14 23:40:37 +0000 |
commit | a4ec555228153801a1b866a1eb93c633b391a88e (patch) | |
tree | 16fb2a587f0ac78b0ff3c0f44d026307fb75fccc /src/or/circuitbuild.c | |
parent | de5fac0ed1252596c29114482f3d59c9b8497371 (diff) | |
download | tor-a4ec555228153801a1b866a1eb93c633b391a88e.tar.gz tor-a4ec555228153801a1b866a1eb93c633b391a88e.zip |
change INET_NTOA_BUF_LEN+1 to INET_NTOA_BUF_LEN
add a comment in a few places where we add weird numbers to buffer lengths
svn:r6161
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index ec107c9812..9d9babf42d 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -338,7 +338,7 @@ circuit_handle_first_hop(circuit_t *circ) { crypt_path_t *firsthop; connection_t *n_conn; - char tmpbuf[INET_NTOA_BUF_LEN+1]; + char tmpbuf[INET_NTOA_BUF_LEN]; struct in_addr in; firsthop = onion_next_hop_in_cpath(circ->cpath); |