]> granicus.if.org Git - shadow/commitdiff
Re-indent.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 17 Jun 2008 21:17:45 +0000 (21:17 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 17 Jun 2008 21:17:45 +0000 (21:17 +0000)
libmisc/myname.c

index bedb31444b78f593d6d3d806f40a000322dcc5b3..f22f5ab34e1272007aeb39eb2bfe60a6666d259b 100644 (file)
@@ -57,7 +57,7 @@ struct passwd *get_my_pwent (void)
         * XXX - when running from su, will return the current user (not
         * the original user, like getlogin() does).  Does this matter?
         */
-       if ((NULL !=cp) && ('\0' != *cp)) {
+       if ((NULL != cp) && ('\0' != *cp)) {
                pw = xgetpwnam (cp);
                if ((NULL != pw) && (pw->pw_uid == ruid)) {
                        return pw;