Changeset 721

Show
Ignore:
Timestamp:
02/25/08 07:55:41 (6 months ago)
Author:
dsallings
Message:

Build the connection list out so that we don't lose connections.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/binary/server/memcached.c

    r720 r721  
    33603360    int x; 
    33613361    int *l_socket_ptr; 
    3362     conn *next = listen_conn; 
    33633362    for (l_socket_ptr= l_socket, x = 0; x < count; l_socket_ptr++, x++) { 
    33643363        conn *listen_conn_add; 
     
    33723371 
    33733372            if (listen_conn == NULL) { 
    3374                 next = listen_conn = listen_conn_add; 
     3373                listen_conn = listen_conn_add; 
    33753374            } else { 
    3376                 next->next= listen_conn_add; 
     3375                                listen_conn_add->next = listen_conn->next; 
     3376                                listen_conn->next = listen_conn_add; 
    33773377            } 
    33783378        }