nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f19bf5bbad5d25124e81163cd38cdf30aa6b3a8c
parent 8a1786c49f630acb66a2aca88e4ce96ae75edceb
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 19 May 2018 01:36:17 +0530

Use macro instead if hardcoded value

Diffstat:
Mnnn.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nnn.c b/nnn.c @@ -1736,7 +1736,7 @@ xgetpwuid(uid_t uid) { struct passwd *pwd = getpwuid(uid); if (!pwd) - return utils[7]; + return utils[UNKNOWN]; return pwd->pw_name; } @@ -1746,7 +1746,7 @@ xgetgrgid(gid_t gid) { struct group *grp = getgrgid(gid); if (!grp) - return utils[7]; + return utils[UNKNOWN]; return grp->gr_name; }