13 lines
428 B
Text
13 lines
428 B
Text
$NetBSD: patch-al,v 1.1 2002/07/16 14:26:21 agc Exp $
|
|
|
|
--- abuse/src/view.c 2002/07/16 14:15:54 1.1
|
|
+++ abuse/src/view.c 2002/07/16 14:16:23
|
|
@@ -179,7 +179,7 @@
|
|
|
|
#else
|
|
char *get_login()
|
|
-{ if (cur_user_name[0]) return cur_user_name; else return (getlogin() ? getlogin() : "unknown"); }
|
|
+{ char *unknown = "unknown"; if (cur_user_name[0]) return cur_user_name; else return (getlogin() ? getlogin() : unknown); }
|
|
|
|
#endif
|
|
|