]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add some post-comma spaces to please arma
authorNick Mathewson <nickm@torproject.org>
Sat, 26 Nov 2011 00:46:11 +0000 (19:46 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 30 Nov 2011 19:08:11 +0000 (14:08 -0500)
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.

src/or/circuituse.c
src/or/control.c

index fc252c9b185a3e14553f5e8fed1e63b46838503d..7a2ab83adc031445c194a5c6484b4e5aa8d95229 100644 (file)
@@ -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
index ce37aca5a6018c6f6cd4108b26412e043888c9c0..d570ef97c8e15b3b7a11d19d9576e39fff671145 100644 (file)
@@ -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);
       }