X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=overlord.c;h=756c5ab67c9d4379340c5fda6b6779518432c2f4;hb=7adf2c71251abac86b93cbd21914acccac295575;hp=1cfba9b7cd6c01da5474d8b5acee00dad5eea534;hpb=b1d47587ff38fa261e486f14ddb38b6fb2a9e694;p=userv.git diff --git a/overlord.c b/overlord.c index 1cfba9b..756c5ab 100644 --- a/overlord.c +++ b/overlord.c @@ -2,10 +2,8 @@ * userv - overlord.c * daemon main program, collects request and forks handlers * - * userv is - * Copyright 1996-2017 Ian Jackson . - * Copyright 2000 Ben Harris - * Copyright 2016-2017 Peter Benie + * userv is copyright Ian Jackson and other contributors. + * See README for full authorship information. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by @@ -249,7 +247,8 @@ static void NONRETURNING docheck(int needwanted) { r= write(sfd,&request_mbuf,sizeof(request_mbuf)); if (r==sizeof(request_mbuf)) { endmagic= REQUEST_END_MAGIC; - write(sfd,&endmagic,sizeof(endmagic)); + r= write(sfd,&endmagic,sizeof(endmagic)); + (void)r; } syslog(LOG_NOTICE,"uservd[%ld] is running",(long)overlordpid); #endif