summaryrefslogtreecommitdiff
path: root/proxy.c
diff options
context:
space:
mode:
authorerdgeist <>2009-10-02 23:47:35 +0000
committererdgeist <>2009-10-02 23:47:35 +0000
commit9eb860f0413624da02e2dcd8a8dc04fb3ae1ed99 (patch)
treeed037404cde97a57a8d172b1f19c90491f42cddf /proxy.c
parent9cced7eb887fe434174c5fccbb3a31aa9499578d (diff)
Log successful incoming connections
Diffstat (limited to 'proxy.c')
-rw-r--r--proxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy.c b/proxy.c
index 1e15f84..4977b5c 100644
--- a/proxy.c
+++ b/proxy.c
@@ -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;
386close_socket: 388close_socket:
387 io_close( peersocket ); 389 io_close( peersocket );