From: Nick Mathewson Date: Sat, 26 Nov 2011 00:46:11 +0000 (-0500) Subject: Add some post-comma spaces to please arma X-Git-Tag: tor-0.2.3.9-alpha~27^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04c622d72004fb7811bc2996551893119869b802;p=thirdparty%2Ftor.git 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. --- 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 conn to circ, 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); }