[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Slightly more helpful msg on mismatched service pk digest i...



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

Modified Files:
	rendservice.c 
Log Message:
Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell

Index: rendservice.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendservice.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- rendservice.c	5 Apr 2004 18:22:00 -0000	1.23
+++ rendservice.c	5 Apr 2004 20:33:29 -0000	1.24
@@ -342,7 +342,9 @@
     return -1;
   }
   if (!memcmp(circuit->rend_pk_digest, request, 20)) {
-    log_fn(LOG_WARN, "Got an INTRODUCE2 cell for the wrong service");
+    hex_encode(request, 4, hexid);
+    log_fn(LOG_WARN, "Got an INTRODUCE2 cell for the wrong service (%s)",
+           hexid);
     return -1;
   }