[or-cvs] stick to nick"s nul/null convention

arma at seul.org arma at seul.org
Sat Jul 15 19:21:30 UTC 2006


Update of /home2/or/cvsroot/tor/src/common
In directory moria:/home/arma/work/onion/cvs/tor/src/common

Modified Files:
	crypto.c 
Log Message:
stick to nick's nul/null convention


Index: crypto.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/crypto.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -p -d -r1.193 -r1.194
--- crypto.c	5 Jun 2006 04:29:03 -0000	1.193
+++ crypto.c	15 Jul 2006 19:21:28 -0000	1.194
@@ -509,7 +509,7 @@ crypto_pk_write_public_key_to_string(cry
   tor_assert(buf->length >= 0);
   *dest = tor_malloc(buf->length+1);
   memcpy(*dest, buf->data, buf->length);
-  (*dest)[buf->length] = 0; /* null terminate it */
+  (*dest)[buf->length] = 0; /* nul terminate it */
   *len = buf->length;
   BUF_MEM_free(buf);
 



More information about the tor-commits mailing list