Prechádzať zdrojové kódy

when a begin cell has an invalid port, give us a better hint of
what went wrong


svn:r2435

Roger Dingledine 21 rokov pred
rodič
commit
6468e049be
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/or/connection_edge.c

+ 1 - 1
src/or/connection_edge.c

@@ -758,7 +758,7 @@ int connection_exit_begin_conn(cell_t *cell, circuit_t *circ) {
   *colon = 0;
 
   if(!atoi(colon+1)) { /* bad port */
-    log_fn(LOG_WARN,"relay begin cell has invalid port. Dropping.");
+    log_fn(LOG_WARN,"relay begin cell has invalid port '%s'. Dropping.", colon+1);
     return 0;
   }