]> diplodocus.org Git - nmh/blobdiff - uip/rcvtty.c
Fixed mhical(1) exit status to reflect return status of icalparse().
[nmh] / uip / rcvtty.c
index c66f3996b5f8db4a9dd7deadc1a11c5b9afcb263..3563ae5fe70e1e5e8e1b87720e959622b093fbdc 100644 (file)
@@ -151,9 +151,9 @@ main (int argc, char **argv)
     if ((md = vecp ? message_fd (vec) : header_fd ()) == NOTOK)
        exit(1);
 
-    user = getusername();
-
 #if HAVE_GETUTXENT
+    user = getusername(1);
+
     setutxent();
     while ((utp = getutxent()) != NULL) {
         if (utp->ut_type == USER_PROCESS && utp->ut_user[0] != 0