]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Clean up a couple of style issues in the socks-client branch.
authorNick Mathewson <nickm@torproject.org>
Tue, 25 Aug 2009 14:30:54 +0000 (10:30 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 25 Aug 2009 14:30:54 +0000 (10:30 -0400)
src/or/connection.c
src/or/reasons.c

index ccfbe19ed54091727dcf746435f567f9e65a5860..65ca3898e64e600dc5b4c1b9e89b26f6632cd1f7 100644 (file)
@@ -1386,7 +1386,7 @@ connection_proxy_connect(connection_t *conn, int type)
       memcpy(buf + 4, &ip4addr, 4); /* addr */
       buf[8] = 0; /* userid (empty) */
 
-      connection_write_to_buf((char *)buf, sizeof buf, conn);
+      connection_write_to_buf((char *)buf, sizeof(buf), conn);
       conn->proxy_state = PROXY_SOCKS4_WANT_CONNECT_OK;
       break;
     }
index 5efb08bb41327175e10abddbb1714423f7ce873c..78a16af10e52cc9efc05e3e87a4ef256a975f9ba 100644 (file)
@@ -369,3 +369,4 @@ socks5_response_code_to_string(uint8_t code)
       return "unknown reason";
   }
 }
+