aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-05-28 06:19:58 +0000
committerRoger Dingledine <arma@torproject.org>2003-05-28 06:19:58 +0000
commit54c57def0b0025f31da28840584332084773153e (patch)
tree62079e7fd0ab11122d8c48b038a9d8eedcdb98d4 /src/or
parentfa1d446440ed1134d2a9f26e241ce3018d7821f9 (diff)
downloadtor-54c57def0b0025f31da28840584332084773153e.tar
tor-54c57def0b0025f31da28840584332084773153e.tar.gz
fix (harmless) bug
svn:r299
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection_or.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 064400912..f9c370149 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -523,7 +523,7 @@ int or_handshake_server_process_auth(connection_t *conn) {
}
log(LOG_DEBUG,"or_handshake_server_process_auth(): Nonce generated.");
- memmove(buf, buf+2, 46);
+ memmove(buf, buf+2, 44);
*(uint32_t *)(buf+44) = htonl(conn->bandwidth); /* send max link utilisation */
memcpy(buf+48,conn->nonce,8); /* append the nonce to the end of the message */