r151: Fix compile
authoryoe <yoe>
Fri, 10 Mar 2006 13:38:51 +0000 (13:38 +0000)
committeryoe <yoe>
Fri, 10 Mar 2006 13:38:51 +0000 (13:38 +0000)
nbd-server.c

index 155998b..48707df 100644 (file)
@@ -1175,7 +1175,7 @@ int serveloop(GArray* servers) {
                                        }
                                        /* child */
                                        g_hash_table_destroy(children);
                                        }
                                        /* child */
                                        g_hash_table_destroy(children);
-                                       for(i=0;i<servers->len,serve=&(g_array_index(servers, SERVER, i)),i++) {
+                                       for(i=0;i<servers->len,serve=&(g_array_index(servers, SERVER, i));i++) {
                                                close(serve->socket);
                                        }
                                        /* FALSE does not free the
                                                close(serve->socket);
                                        }
                                        /* FALSE does not free the