[or-cvs] arma> you should make r and i and use r for r and i for i
Nick Mathewson
nickm at seul.org
Tue Apr 13 02:36:39 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv13009/src/or
Modified Files:
rendclient.c
Log Message:
<arma> you should make r and i and use r for r and i for i
Index: rendclient.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendclient.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- rendclient.c 13 Apr 2004 02:31:52 -0000 1.32
+++ rendclient.c 13 Apr 2004 02:36:37 -0000 1.33
@@ -143,7 +143,7 @@
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 @@
*
* 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!)
*/
More information about the tor-commits
mailing list