]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Forward-port fix for 7889
authorNick Mathewson <nickm@torproject.org>
Tue, 15 Jan 2013 21:33:53 +0000 (16:33 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 15 Jan 2013 21:33:53 +0000 (16:33 -0500)
src/or/command.c

index ec97a78bbc97c900c1aa5b93593d36f5df19dc25..6d68c5c1594a1b256dda57ef50b0cb23e6602e83 100644 (file)
@@ -223,9 +223,9 @@ command_process_create_cell(cell_t *cell, channel_t *chan)
 
   if (cell->circ_id == 0) {
     log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
-           "Received a create cell (type %d) from %s:%d with zero circID; "
-           " ignoring.", (int)cell->command, conn->_base.address,
-           conn->_base.port);
+           "Received a create cell (type %d) from %s with zero circID; "
+           " ignoring.", (int)cell->command,
+           channel_get_actual_remote_descr(chan));
     return;
   }