diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-13 02:36:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-13 02:36:37 +0000 |
commit | a4d25bdbd99bbfb1933e6ed5f6f01baa3ac0eee0 (patch) | |
tree | 8618cb7a8df7fe20e0b64feb1eb5b139177761c2 /src/or/rendclient.c | |
parent | e53ba59250834f9d5ae8f17adc585446a8b2e2d6 (diff) | |
download | tor-a4d25bdbd99bbfb1933e6ed5f6f01baa3ac0eee0.tar.gz tor-a4d25bdbd99bbfb1933e6ed5f6f01baa3ac0eee0.zip |
<arma> you should make r and i and use r for r and i for i
svn:r1603
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index fb4543aedd..2fd0567b97 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -143,7 +143,7 @@ int rend_client_introduction_acked(circuit_t *circ, const char *request, int request_len) { - int i; + int i, r; rend_cache_entry_t *ent; char *nickname; @@ -170,12 +170,12 @@ rend_client_introduction_acked(circuit_t *circ, * * Or re-fetch the service descriptor? Hm.... */ - i = rend_cache_lookup_entry(circ->rend_query, &ent); - if (i<0) { + r = rend_cache_lookup_entry(circ->rend_query, &ent); + if (r<0) { log_fn(LOG_WARN, "Malformed service ID '%s'", circ->rend_query); return -1; } - if (i>0) { + if (r>0) { /* Okay, we found the right service desc. First, remove this intro point * from the parsed descriptor (if it's still there!) */ |