[or-cvs] fencepost

Nick Mathewson nickm at seul.org
Sat Aug 7 01:18:04 UTC 2004


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv14196/src/common

Modified Files:
	util.c 
Log Message:
fencepost

Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- util.c	7 Aug 2004 01:03:32 -0000	1.120
+++ util.c	7 Aug 2004 01:18:02 -0000	1.121
@@ -245,7 +245,7 @@
   static char buf[65];
   if (fromlen>(sizeof(buf)-1)/2)
     fromlen = (sizeof(buf)-1)/2;
-  base16_encode(buf,64,from,fromlen);
+  base16_encode(buf,sizeof(buf),from,fromlen);
   return buf;
 }
 



More information about the tor-commits mailing list