]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
minor fixes
authorRoger Dingledine <arma@torproject.org>
Tue, 16 Nov 2004 03:12:53 +0000 (03:12 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 16 Nov 2004 03:12:53 +0000 (03:12 +0000)
svn:r2901

src/or/circuituse.c
src/or/cpuworker.c

index de20f7fcdd0de0a24876b9484ac7aa09ac318591..9e976295734005e8b3dbda657e2ef84e19b69049 100644 (file)
@@ -697,7 +697,7 @@ circuit_get_open_circ_or_launch(connection_t *conn,
       /* need to pick an intro point */
       exitname = rend_client_get_random_intro(conn->rend_query);
       if(!exitname) {
-        log_fn(LOG_WARN,"Couldn't get an intro point for '%s'. Closing conn.",
+        log_fn(LOG_WARN,"Couldn't get an intro point for '%s'. Closing.",
                conn->rend_query);
         return -1;
       }
index 10072f4bf216b880494493b61b5c449af9ec65b8..998b4b379154c602a9564c1e72645ea69f924271 100644 (file)
@@ -134,7 +134,8 @@ int connection_cpu_process_inbuf(connection_t *conn) {
     /* parse out the circ it was talking about */
     tag_unpack(buf, &addr, &port, &circ_id);
     circ = NULL;
-    /* (This is actually right: we want a specific port here in
+    /* (Here we use connection_exact_get_by_addr_port rather than
+     * get_by_identity_digest: we want a specific port here in
      * case there are multiple connections.) */
     p_conn = connection_exact_get_by_addr_port(addr,port);
     if(p_conn)