Introduction
Introduction Statistics Contact Development Disclaimer Help
cleanup - sic - simple irc client
git clone git://git.suckless.org/sic
Log
Files
Refs
README
LICENSE
---
commit 6af1b812ae862a64e0c92060b993b591a72d741e
parent 75d42255f22a40935ced8b2e4c134996f8efebe2
Author: Anselm R Garbe <[email protected]>
Date: Fri, 14 May 2010 18:01:20 +0100
cleanup
Diffstat:
M util.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/util.c b/util.c
@@ -56,11 +56,11 @@ eat(char *s, int (*p)(int), int r) {
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 @@ trim(char *s) {
char *e;
e = s + strlen(s) - 1;
- while (isspace(*e) && e > s)
+ while(isspace(*e) && e > s)
e--;
*(e + 1) = '\0';
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.