diff options
Diffstat (limited to 'proxy.c')
-rw-r--r-- | proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ) { |