Browse Source

Clean up a couple of style issues in the socks-client branch.

Nick Mathewson 14 years ago
parent
commit
903f9ef50e
2 changed files with 2 additions and 1 deletions
  1. 1 1
      src/or/connection.c
  2. 1 0
      src/or/reasons.c

+ 1 - 1
src/or/connection.c

@@ -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;
     }

+ 1 - 0
src/or/reasons.c

@@ -369,3 +369,4 @@ socks5_response_code_to_string(uint8_t code)
       return "unknown reason";
   }
 }
+