X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/97b2a06f6d679903c21759b1ff4fd52455d7d6b3..2a1c84fb58e4caaa7a91991846b36ef2cfa8dd9f:/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");