From: Nick Mathewson Date: Mon, 5 Apr 2004 20:34:58 +0000 (+0000) Subject: It's amazing how wrong things look when you invert the booleans on your X-Git-Tag: tor-0.0.6incompat-merged~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d3aea40a402e59ca31cf42249e6ba0f53f75ef6;p=thirdparty%2Ftor.git It's amazing how wrong things look when you invert the booleans on your sanity checks. svn:r1487 --- diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 5bf944690b..b4898a3f50 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -341,7 +341,7 @@ rend_service_introduce(circuit_t *circuit, const char *request, int request_len) 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);