diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-08 21:13:05 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-08 21:13:05 +0000 |
commit | 5d250d3e1b8eab09b438516f790082204441b6e3 (patch) | |
tree | 5390ef5695bee14fabf5721befac740be4a67e6b | |
parent | 8ab4b0d302d378003ae738e7719bdcdf206ed02f (diff) | |
download | tor-5d250d3e1b8eab09b438516f790082204441b6e3.tar.gz tor-5d250d3e1b8eab09b438516f790082204441b6e3.zip |
r14060@tombo: nickm | 2008-02-08 13:36:52 -0500
Fix warning in onion.c
svn:r13427
-rw-r--r-- | src/or/onion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index abbadcbf0c..c798a8d20e 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -436,7 +436,7 @@ fast_client_handshake(const char *handshake_state, /* DIGEST_LEN bytes */ 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); |