[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] fix (harmless) bug



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home/arma/work/onion/cvs/src/or

Modified Files:
	connection_or.c 
Log Message:
fix (harmless) bug


Index: connection_or.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection_or.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- connection_or.c	28 May 2003 02:03:25 -0000	1.28
+++ connection_or.c	28 May 2003 06:19:58 -0000	1.29
@@ -523,7 +523,7 @@
     }
     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 */