chiark / gitweb /
Server checks itself every hour, and logs with pid.
[userv.git] / process.c
index c88c3c9bee277d2551f446f2fe7ad22889e2ab38..98bbeec6523bd73ffc966057b2f3e296e1a5dab8 100644 (file)
--- a/process.c
+++ b/process.c
@@ -399,6 +399,7 @@ static void send_opening(void) {
   memset(&opening_mbuf,0,sizeof(opening_mbuf));
   opening_mbuf.magic= OPENING_MAGIC;
   memcpy(opening_mbuf.protocolchecksumversion,protocolchecksumversion,PCSUMSIZE);
+  opening_mbuf.overlordpid= overlordpid;
   opening_mbuf.serverpid= mypid;
   xfwrite(&opening_mbuf,sizeof(opening_mbuf),swfile);
   xfflush(swfile);