提交 470a690e 编写于 作者: E erdgeist

Don't only walk through outgoing connections to search for connected peers

上级 4b3189eb
......@@ -713,7 +713,7 @@ unlock_continue:
if( ptr_a > ptr_c ) ptr_c = ptr_a;
mem = ptr_c - ptr;
for( i=0; i < g_connection_count; ++i ) {
for( i=0; i < MAX_PEERS; ++i ) {
if( PROXYPEER_ISCONNECTED(g_connections[i].state) ) {
void *tmp = malloc( mem );
if( tmp ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册