chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
List processes after daemon is supposed to be stopped (it's still not
[disorder]
/
server
/
speaker.c
diff --git
a/server/speaker.c
b/server/speaker.c
index de5692b9fe7b91e5b24453e867dddc244a2e8234..ccdf1e11aecff9115670a2dc46049ecd7bf7d294 100644
(file)
--- a/
server/speaker.c
+++ b/
server/speaker.c
@@
-529,6
+529,10
@@
static void mainloop(void) {
nonblock(fd);
t->fd = fd; /* yay */
}
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");
}
} else
disorder_error(errno, "accept");