summaryrefslogtreecommitdiff
path: root/proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.c')
-rw-r--r--proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy.c b/proxy.c
index c65c0b8..3058bb6 100644
--- a/proxy.c
+++ b/proxy.c
@@ -713,7 +713,7 @@ unlock_continue:
713 if( ptr_a > ptr_c ) ptr_c = ptr_a; 713 if( ptr_a > ptr_c ) ptr_c = ptr_a;
714 mem = ptr_c - ptr; 714 mem = ptr_c - ptr;
715 715
716 for( i=0; i < g_connection_count; ++i ) { 716 for( i=0; i < MAX_PEERS; ++i ) {
717 if( PROXYPEER_ISCONNECTED(g_connections[i].state) ) { 717 if( PROXYPEER_ISCONNECTED(g_connections[i].state) ) {
718 void *tmp = malloc( mem ); 718 void *tmp = malloc( mem );
719 if( tmp ) { 719 if( tmp ) {