[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] It"s amazing how wrong things look when you invert the bool...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] It"s amazing how wrong things look when you invert the bool...
- From: nickm@seul.org (Nick Mathewson)
- Date: Mon, 5 Apr 2004 16:35:00 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 05 Apr 2004 16:35:32 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv20558/src/or
Modified Files:
rendservice.c
Log Message:
It's amazing how wrong things look when you invert the booleans on your
sanity checks.
Index: rendservice.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendservice.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- rendservice.c 5 Apr 2004 20:33:29 -0000 1.24
+++ rendservice.c 5 Apr 2004 20:34:58 -0000 1.25
@@ -341,7 +341,7 @@
hexid);
return -1;
}
- if (!memcmp(circuit->rend_pk_digest, request, 20)) {
+ if (memcmp(circuit->rend_pk_digest, request, 20)) {
hex_encode(request, 4, hexid);
log_fn(LOG_WARN, "Got an INTRODUCE2 cell for the wrong service (%s)",
hexid);