]> granicus.if.org Git - curl/commitdiff
style: minor whitespace change
authorDaniel Stenberg <daniel@haxx.se>
Wed, 12 May 2010 21:32:42 +0000 (23:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 12 May 2010 21:32:42 +0000 (23:32 +0200)
lib/curl_fnmatch.c

index a7fe6c9800a1b90629cce46eaf355a7029b556fa..9628844ada5c529cd83fbe2adb4a514e336159be 100644 (file)
@@ -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;