[or-cvs] r13427: Fix warning in onion.c (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Fri Feb 8 21:13:05 UTC 2008


Author: nickm
Date: 2008-02-08 16:13:05 -0500 (Fri, 08 Feb 2008)
New Revision: 13427

Modified:
   tor/trunk/
   tor/trunk/src/or/onion.c
Log:
 r14060 at tombo:  nickm | 2008-02-08 13:36:52 -0500
 Fix warning in onion.c



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r14060] on 49666b30-7950-49c5-bedf-9dc8f3168102

Modified: tor/trunk/src/or/onion.c
===================================================================
--- tor/trunk/src/or/onion.c	2008-02-08 21:13:02 UTC (rev 13426)
+++ tor/trunk/src/or/onion.c	2008-02-08 21:13:05 UTC (rev 13427)
@@ -436,7 +436,7 @@
   char tmp[DIGEST_LEN+DIGEST_LEN];
   char *out;
   size_t out_len;
-  int r;
+  int r = -1;
 
   memcpy(tmp, handshake_state, DIGEST_LEN);
   memcpy(tmp+DIGEST_LEN, handshake_reply_out, DIGEST_LEN);



More information about the tor-commits mailing list