Browse Source

minor fixes

svn:r2901
Roger Dingledine 20 years ago
parent
commit
abdf073f14
2 changed files with 3 additions and 2 deletions
  1. 1 1
      src/or/circuituse.c
  2. 2 1
      src/or/cpuworker.c

+ 1 - 1
src/or/circuituse.c

@@ -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;
       }

+ 2 - 1
src/or/cpuworker.c

@@ -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)