Index: /branches/binary/server/memcached.c
===================================================================
--- /branches/binary/server/memcached.c (revision 730)
+++ /branches/binary/server/memcached.c (revision 731)
@@ -2986,5 +2986,4 @@
 }
 
-
 static int server_socket(const int port, const int prot) {
     int sfd;
@@ -3077,11 +3076,6 @@
             exit(EXIT_FAILURE);
         }
-
-        if (listen_conn == NULL) {
-            listen_conn = listen_conn_add;
-        } else {
-            listen_conn_add->next = listen_conn->next;
-            listen_conn->next = listen_conn_add;
-        }
+        listen_conn_add->next = listen_conn;
+        listen_conn = listen_conn_add;
       }
     }
@@ -3089,8 +3083,6 @@
     freeaddrinfo(ai);
 
-    if (success == 0)
-        return 1;
-
-    return 0;
+    /* Return zero iff we detected no errors in starting up connections */
+    return success == 0;
 }
 
