chiark / gitweb /
Correct ordering of configuration key table.
[disorder] / server / speaker.c
index de5692b9fe7b91e5b24453e867dddc244a2e8234..ccdf1e11aecff9115670a2dc46049ecd7bf7d294 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");