mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
Remove the extra space that is sent in certain STREAM messages from the controller. (closes #1583)
This commit is contained in:
parent
7be7f15198
commit
e2b117eb80
@ -3085,8 +3085,7 @@ control_event_stream_status(edge_connection_t *conn, stream_status_event_t tp,
|
||||
}
|
||||
|
||||
if (tp == STREAM_EVENT_NEW) {
|
||||
tor_snprintf(addrport_buf,sizeof(addrport_buf), "%sSOURCE_ADDR=%s:%d",
|
||||
strlen(reason_buf) ? " " : "",
|
||||
tor_snprintf(addrport_buf,sizeof(addrport_buf), " SOURCE_ADDR=%s:%d",
|
||||
TO_CONN(conn)->address, TO_CONN(conn)->port );
|
||||
} else {
|
||||
addrport_buf[0] = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user