=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/Attic/getname.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/mail/Attic/getname.c 1996/06/11 12:53:40 1.2 --- src/usr.bin/mail/Attic/getname.c 1997/07/13 21:21:13 1.3 *************** *** 1,4 **** ! /* $OpenBSD: getname.c,v 1.2 1996/06/11 12:53:40 deraadt Exp $ */ /* $NetBSD: getname.c,v 1.4 1996/06/08 19:48:23 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: getname.c,v 1.3 1997/07/13 21:21:13 millert Exp $ */ /* $NetBSD: getname.c,v 1.4 1996/06/08 19:48:23 christos Exp $ */ /* *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)getname.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: getname.c,v 1.2 1996/06/11 12:53:40 deraadt Exp $"; #endif #endif /* not lint */ --- 38,44 ---- #if 0 static char sccsid[] = "@(#)getname.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: getname.c,v 1.3 1997/07/13 21:21:13 millert Exp $"; #endif #endif /* not lint */ *************** *** 58,65 **** struct passwd *pw; if ((pw = getpwuid(uid)) == NULL) ! return NOSTR; ! return pw->pw_name; } /* --- 58,65 ---- struct passwd *pw; if ((pw = getpwuid(uid)) == NULL) ! return(NOSTR); ! return(pw->pw_name); } /* *************** *** 73,78 **** struct passwd *pw; if ((pw = getpwnam(name)) == NULL) ! return -1; ! return pw->pw_uid; } --- 73,78 ---- struct passwd *pw; if ((pw = getpwnam(name)) == NULL) ! return(-1); ! return(pw->pw_uid); }