[hackers] [sic] cleanup || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Fri, 14 May 2010 16:01:17 +0000 (UTC)

changeset: 108:d6140e3685b8
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Fri May 14 18:01:20 2010 +0100
files: util.c
description:
cleanup

diff -r 034d17785d30 -r d6140e3685b8 util.c
--- a/util.c Sat Apr 17 11:12:54 2010 +0100
+++ b/util.c Fri May 14 18:01:20 2010 +0100
@@ -56,11 +56,11 @@
 
 static char*
 skip(char *s, char c) {
- while(*s != c && *s != '\0')
- s++;
- if (*s != '\0')
- *s++ = '\0';
- return s;
+ while(*s != c && *s != '\0')
+ s++;
+ if(*s != '\0')
+ *s++ = '\0';
+ return s;
 }
 
 static void
@@ -68,7 +68,7 @@
         char *e;
 
         e = s + strlen(s) - 1;
- while (isspace(*e) && e > s)
+ while(isspace(*e) && e > s)
                 e--;
         *(e + 1) = '\0';
 }
Received on Fri May 14 2010 - 16:01:17 UTC

This archive was generated by hypermail 2.2.0 : Fri May 14 2010 - 16:12:04 UTC