X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/58c5e5b287f2ef7b6a855b30eb0c2be1edd5ab42..15fde7dd84cc29c054857e5d8a7fdd4a8db10a97:/uip/inc.c?ds=inline diff --git a/uip/inc.c b/uip/inc.c index 68fb06b6..c337dde5 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -149,7 +149,7 @@ static gid_t return_gid; #endif /* not MAILGROUP */ /* these variables have to be globals so that done() can correctly clean up the lockfile */ -static int locked = 0; +static bool locked; static char *newmail; static FILE *in; @@ -526,7 +526,7 @@ main (int argc, char **argv) /* Mail from a spool file. */ if (access (newmail, W_OK) != NOTOK) { - locked++; + locked = true; if (trnflag) { SIGNAL (SIGHUP, SIG_IGN); SIGNAL (SIGINT, SIG_IGN);