Correct ordering of configuration key table.
[disorder] / server / speaker.c
index de5692b..ccdf1e1 100644 (file)
@@ -529,6 +529,10 @@ static void mainloop(void) {
             nonblock(fd);
             t->fd = fd;               /* yay */
           }
+          /* Notify the server that the connection arrived */
+          sm.type = SM_ARRIVED;
+          strcpy(sm.id, id);
+          speaker_send(1, &sm);
         }
       } else
         disorder_error(errno, "accept");