diff options
author | Roger Dingledine <arma@torproject.org> | 2005-12-10 09:36:26 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-12-10 09:36:26 +0000 |
commit | 58366ffd249590d3f99296563e3f0a189efd568b (patch) | |
tree | b6f6016f5dc748002315335361c8b1b4a5ed813b /src/or/control.c | |
parent | 9b0a40ec7866005928e49b4717d626e64057c331 (diff) | |
download | tor-58366ffd249590d3f99296563e3f0a189efd568b.tar.gz tor-58366ffd249590d3f99296563e3f0a189efd568b.zip |
when we changed from log_fn to debug/info/notice/warn/err,
we screwed up the formatting in wild and unpredictable ways.
fix it before it becomes convention to format logs in wild and
unpredictable ways.
still need to do src/common/ someday.
svn:r5551
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/control.c b/src/or/control.c index d11aa02b62..b4cc2123db 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1339,7 +1339,7 @@ handle_getinfo_helper(const char *question, char **answer) state = "SUCCEEDED"; break; default: warn(LD_BUG, "Asked for stream in unknown state %d", - conns[i]->state); + conns[i]->state); continue; } circ = circuit_get_by_edge_conn(conns[i]); @@ -2281,7 +2281,7 @@ connection_control_process_inbuf_v0(connection_t *conn) case CONTROL0_CMD_EVENT: case CONTROL0_CMD_INFOVALUE: warn(LD_CONTROL, "Received client-only '%s' command; ignoring.", - control_cmd_to_string(command_type)); + control_cmd_to_string(command_type)); send_control0_error(conn, ERR_UNRECOGNIZED_TYPE, "Command type only valid from server to tor client"); break; @@ -2291,7 +2291,7 @@ connection_control_process_inbuf_v0(connection_t *conn) send_control0_error(conn, ERR_SYNTAX, "Bad fragmentation on command."); default: warn(LD_CONTROL, "Received unrecognized command type %d; ignoring.", - (int)command_type); + (int)command_type); send_control0_error(conn, ERR_UNRECOGNIZED_TYPE, "Unrecognized command type"); break; |