cvsdist 2ec925
--- bsd-finger-0.17-pre20000412/finger/finger.c.exact	Sat Dec 18 11:41:51 1999
cvsdist 2ec925
+++ bsd-finger-0.17-pre20000412/finger/finger.c	Sun Aug 27 21:17:57 2000
cvsdist 2ec925
@@ -238,15 +238,14 @@
cvsdist 2ec925
 	 * traverse the list of possible login names and check the login name
cvsdist 2ec925
 	 * and real name against the name specified by the user.
cvsdist 2ec925
 	 */
cvsdist 2ec925
-	if (mflag) {
cvsdist 2ec925
-		for (i = 0; i < argc; i++)
cvsdist 2ec925
-			if (used[i] >= 0 && (pw = getpwnam(argv[i]))) {
cvsdist 2ec925
-				if (!check_nofinger(pw)) {
cvsdist 2ec925
-					enter_person(pw);
cvsdist 2ec925
-					used[i] = 1;
cvsdist 2ec925
-				}
cvsdist 2ec925
+	for (i = 0; i < argc; i++)
cvsdist 2ec925
+		if (used[i] >= 0 && (pw = getpwnam(argv[i]))) {
cvsdist 2ec925
+			if (!check_nofinger(pw)) {
cvsdist 2ec925
+				enter_person(pw);
cvsdist 2ec925
+				used[i] = 1;
cvsdist 2ec925
 			}
cvsdist 2ec925
+		}
cvsdist 2ec925
-	} else for (pw = getpwent(); pw; pw = getpwent())
cvsdist 2ec925
+	if(!mflag) for (pw = getpwent(); pw; pw = getpwent())
cvsdist 2ec925
 		for (i = 0; i < argc; i++)
cvsdist 2ec925
 			if (used[i] >= 0 &&
cvsdist 2ec925
 			    (!strcasecmp(pw->pw_name, argv[i]) ||