[hackers] [ubase] code consistency fixes || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Wed, 09 Jul 2014 16:08:04 +0200

commit 291aedb87546fb565962a08aa94fbfc94ccd83f3
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Wed Jul 9 15:39:32 2014 +0000

    code consistency fixes

diff --git a/id.c b/id.c
index 6d60139..4463a45 100644
--- a/id.c
+++ b/id.c
_AT_@ -85,7 +85,7 @@ usernam(const char *nam)
 
         errno = 0;
         pw = getpwnam(nam);
- if(!pw) {
+ if (!pw) {
                 if (errno)
                         eprintf("getpwnam %s:", nam);
                 else
_AT_@ -104,7 +104,7 @@ userid(uid_t id)
 
         errno = 0;
         pw = getpwuid(id);
- if(!pw) {
+ if (!pw) {
                 if (errno)
                         eprintf("getpwuid %d:", id);
                 else
diff --git a/insmod.c b/insmod.c
index 5300074..bddcbcf 100644
--- a/insmod.c
+++ b/insmod.c
_AT_@ -42,7 +42,7 @@ main(int argc, char *argv[])
         buf = emalloc(blen);
 
         n = read(fd, buf, blen);
- if(n < 0 || (size_t)n != blen)
+ if (n < 0 || (size_t)n != blen)
                 eprintf("read:");
 
         argc--;
diff --git a/killall5.c b/killall5.c
index 9a0b606..45e2bb8 100644
--- a/killall5.c
+++ b/killall5.c
_AT_@ -52,15 +52,15 @@ main(int argc, char *argv[])
         case 's':
                 v = EARGF(usage());
                 sig = strtol(v, &end, 0);
- if(*end == '
Received on Wed Jul 09 2014 - 16:08:04 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 09 2014 - 16:12:10 CEST