style: minor whitespace change
This commit is contained in:
parent
d62ce21249
commit
a799162bc7
@ -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
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* 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;
|
register unsigned char c;
|
||||||
for(;;) {
|
for(;;) {
|
||||||
c = **p;
|
c = **p;
|
||||||
switch(state){
|
switch(state) {
|
||||||
case CURLFNM_SCHS_DEFAULT:
|
case CURLFNM_SCHS_DEFAULT:
|
||||||
if(ISALNUM(c)) { /* ASCII value */
|
if(ISALNUM(c)) { /* ASCII value */
|
||||||
rangestart = c;
|
rangestart = c;
|
||||||
@ -200,7 +200,7 @@ static int setcharset(unsigned char **p, unsigned char *charset)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CURLFNM_SCHS_MAYRANGE:
|
case CURLFNM_SCHS_MAYRANGE:
|
||||||
if(c == '-'){
|
if(c == '-') {
|
||||||
charset[c] = 1;
|
charset[c] = 1;
|
||||||
(*p)++;
|
(*p)++;
|
||||||
lastchar = '-';
|
lastchar = '-';
|
||||||
@ -274,7 +274,7 @@ static int setcharset(unsigned char **p, unsigned char *charset)
|
|||||||
else if(c == '\0') {
|
else if(c == '\0') {
|
||||||
return SETCHARSET_FAIL;
|
return SETCHARSET_FAIL;
|
||||||
}
|
}
|
||||||
else if(ISPRINT(c)){
|
else if(ISPRINT(c)) {
|
||||||
charset[c] = 1;
|
charset[c] = 1;
|
||||||
(*p)++;
|
(*p)++;
|
||||||
state = CURLFNM_SCHS_DEFAULT;
|
state = CURLFNM_SCHS_DEFAULT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user