aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-05-12 23:32:42 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-05-12 23:32:42 +0200
commita799162bc7d3a5032b441a76c02da1e45e226fe2 (patch)
treea54f8d3a64f8385286bb5e33f09556d3487c8696 /lib
parentd62ce21249ac2aa1dbcb62c290a8774012adbb16 (diff)
style: minor whitespace change
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_fnmatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/curl_fnmatch.c b/lib/curl_fnmatch.c
index a7fe6c980..9628844ad 100644
--- a/lib/curl_fnmatch.c
+++ b/lib/curl_fnmatch.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -126,7 +126,7 @@ static int setcharset(unsigned char **p, unsigned char *charset)
register unsigned char c;
for(;;) {
c = **p;
- switch(state){
+ switch(state) {
case CURLFNM_SCHS_DEFAULT:
if(ISALNUM(c)) { /* ASCII value */
rangestart = c;
@@ -200,7 +200,7 @@ static int setcharset(unsigned char **p, unsigned char *charset)
}
break;
case CURLFNM_SCHS_MAYRANGE:
- if(c == '-'){
+ if(c == '-') {
charset[c] = 1;
(*p)++;
lastchar = '-';
@@ -274,7 +274,7 @@ static int setcharset(unsigned char **p, unsigned char *charset)
else if(c == '\0') {
return SETCHARSET_FAIL;
}
- else if(ISPRINT(c)){
+ else if(ISPRINT(c)) {
charset[c] = 1;
(*p)++;
state = CURLFNM_SCHS_DEFAULT;