summaryrefslogtreecommitdiff
path: root/src/ivyd.c
diff options
context:
space:
mode:
authorchatty1999-11-15 13:17:53 +0000
committerchatty1999-11-15 13:17:53 +0000
commitca2ba434712fd304b30051b43b694775235d3a20 (patch)
tree8657e652e52fb6975eb5d89dfea7e5e632899b72 /src/ivyd.c
parent71df94b03403aec0681f7d5566862bebc3d3299b (diff)
downloadivyd-ca2ba434712fd304b30051b43b694775235d3a20.zip
ivyd-ca2ba434712fd304b30051b43b694775235d3a20.tar.gz
ivyd-ca2ba434712fd304b30051b43b694775235d3a20.tar.bz2
ivyd-ca2ba434712fd304b30051b43b694775235d3a20.tar.xz
Cosmetic changes: name of temporary file and comments
Diffstat (limited to 'src/ivyd.c')
-rw-r--r--src/ivyd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ivyd.c b/src/ivyd.c
index 6dfc27a..f53d6a3 100644
--- a/src/ivyd.c
+++ b/src/ivyd.c
@@ -49,8 +49,8 @@ Usage (const char* progname)
}
-/*
- * Envoie un numero de port au super-serveur de la machine locale
+/*
+ * Procedure to register with the super-daemon
*/
int
SendPort (int key, int port)
@@ -262,13 +262,14 @@ main (int argc, char **argv)
if (fork ())
exit (0);
- /* determine port in bus address */
+ /* determine port in bus address */
busport = ExtractPort (bus);
/* create server port */
sock = InitSocket (busport);
- signal (SIGTERM, exit); /* pour flinguer le serveur */
+ /* this allows users to stop us cleanly */
+ signal (SIGTERM, exit);
/* Ivy initialization and main loop */