summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-25 19:46:11 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-30 14:08:11 -0500
commit04c622d72004fb7811bc2996551893119869b802 (patch)
tree9842f845ac80e73ccd12546c11e93ebef2ae9f28 /src
parent00ecc2212660e3d31c1c5098e5bbef618ece5ef8 (diff)
downloadtor-04c622d72004fb7811bc2996551893119869b802.tar.gz
tor-04c622d72004fb7811bc2996551893119869b802.zip
Add some post-comma spaces to please arma
Incidentally, we've got 30969 lines in master with a comma in them, of which 1995 have a comma followed by a non-newline, non-space character. So about 93% of our commas are right, but we have a substantial number of "crowded" lines.
Diffstat (limited to 'src')
-rw-r--r--src/or/circuituse.c2
-rw-r--r--src/or/control.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index fc252c9b18..7a2ab83adc 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1676,7 +1676,7 @@ consider_recording_trackhost(const entry_connection_t *conn,
addressmap_register(conn->socks_request->address, new_address,
time(NULL) + options->TrackHostExitsExpire,
- ADDRMAPSRC_TRACKEXIT,0,0);
+ ADDRMAPSRC_TRACKEXIT, 0, 0);
}
/** Attempt to attach the connection <b>conn</b> to <b>circ</b>, and send a
diff --git a/src/or/control.c b/src/or/control.c
index ce37aca5a6..d570ef97c8 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1331,7 +1331,8 @@ handle_control_mapaddress(control_connection_t *conn, uint32_t len,
smartlist_add(reply, ans);
}
} else {
- addressmap_register(from, tor_strdup(to), 1, ADDRMAPSRC_CONTROLLER,0,0);
+ addressmap_register(from, tor_strdup(to), 1,
+ ADDRMAPSRC_CONTROLLER, 0, 0);
tor_snprintf(ans, anslen, "250-%s", line);
smartlist_add(reply, ans);
}