From 54c57def0b0025f31da28840584332084773153e Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 28 May 2003 06:19:58 +0000 Subject: fix (harmless) bug svn:r299 --- src/or/connection_or.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or') 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 */ -- cgit v1.2.3