From 5e6789725323e9fb91ea4ec9f75cea4cc069885f Mon Sep 17 00:00:00 2001 From: Jaakko Heinonen Date: Mon, 10 Apr 2006 16:01:31 +0000 Subject: [PATCH] - whitespace cleanups --- filter.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/filter.c b/filter.c index 65bd38a..cb52ade 100644 --- a/filter.c +++ b/filter.c @@ -916,7 +916,7 @@ pine_fixbuf(char *buf) { int i,j; - for(i=0,j=0; j < (int)strlen(buf); i++, j++) + for(i = 0,j = 0; j < (int)strlen(buf); i++, j++) buf[i] = buf[j] == '\n' ? buf[++j] : buf[j]; } @@ -929,15 +929,15 @@ pine_convert_emails(char *s) if(s == NULL || *s != '(') return; - for(i=0; s[i]; i++ ) - s[i] = s[i+1]; + for(i = 0; s[i]; i++) + s[i] = s[i + 1]; if( ( tmp = strchr(s,')')) ) - *tmp=0; + *tmp = '\0'; for(i = 1; ( tmp = strchr(s, ',') ) != NULL ; i++, s = tmp + 1) if(i > MAX_LIST_ITEMS - 1) { - *tmp = 0; + *tmp = '\0'; break; } -- 2.39.2