diff options
| author | erdgeist <> | 2010-08-15 14:54:40 +0000 |
|---|---|---|
| committer | erdgeist <> | 2010-08-15 14:54:40 +0000 |
| commit | 470a690e0dfe4df04ca836a352871247afcd7c08 (patch) | |
| tree | 30fcf19bad31481fc90beb929e6081744915c6cf | |
| parent | 4b3189eb44bbb991dc706dc9b5ef9cd9b27a7455 (diff) | |
Don't only walk through outgoing connections to search for connected peers
| -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 ) { |
