diff options
author | erdgeist <> | 2009-10-02 23:47:35 +0000 |
---|---|---|
committer | erdgeist <> | 2009-10-02 23:47:35 +0000 |
commit | 9eb860f0413624da02e2dcd8a8dc04fb3ae1ed99 (patch) | |
tree | ed037404cde97a57a8d172b1f19c90491f42cddf | |
parent | 9cced7eb887fe434174c5fccbb3a31aa9499578d (diff) |
Log successful incoming connections
-rw-r--r-- | proxy.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -382,6 +382,8 @@ static void handle_read( int64 peersocket ) { | |||
382 | peer->tracker_id = tracker_id; | 382 | peer->tracker_id = tracker_id; |
383 | PROXYPEER_SETCONNECTED( peer->state ); | 383 | PROXYPEER_SETCONNECTED( peer->state ); |
384 | 384 | ||
385 | fprintf( stderr, "Incoming connection successful.\n" ); | ||
386 | |||
385 | break; | 387 | break; |
386 | close_socket: | 388 | close_socket: |
387 | io_close( peersocket ); | 389 | io_close( peersocket ); |