X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/087a9b2eaf10974c1b3025bf7d439c2371625e70..53e8f9c573282cbe8f96a6b07d657f834a4f44e0:/server/speaker.c diff --git a/server/speaker.c b/server/speaker.c index de5692b..ccdf1e1 100644 --- a/server/speaker.c +++ b/server/speaker.c @@ -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");