X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fnetrc.c;fp=src%2Fnetrc.c;h=485e0757cf28130d1d33b3178493336c74c6cf78;hp=87c8c94b8b5f55cf799efc68341ba591f03df662;hb=da99855784988c6bf125799f47c57d888bbc25f1;hpb=ee9243cb2ffba87ac8db17f15df44735b52f3bd7 diff --git a/src/netrc.c b/src/netrc.c index 87c8c94b..485e0757 100644 --- a/src/netrc.c +++ b/src/netrc.c @@ -283,7 +283,7 @@ parse_netrc (const char *path) quote = 0; /* Skip leading whitespace. */ - while (*p && ISSPACE (*p)) + while (*p && c_isspace (*p)) p ++; /* If the line is empty, then end any macro definition. */ @@ -295,7 +295,7 @@ parse_netrc (const char *path) while (*p && last_token != tok_macdef) { /* Skip any whitespace. */ - while (*p && ISSPACE (*p)) + while (*p && c_isspace (*p)) p ++; /* Discard end-of-line comments; also, stop processing if @@ -313,7 +313,7 @@ parse_netrc (const char *path) tok = p; /* Find the end of the token, handling quotes and escapes. */ - while (*p && (quote ? *p != '"' : !ISSPACE (*p))){ + while (*p && (quote ? *p != '"' : !c_isspace (*p))){ if (*p == '\\') shift_left (p); p ++;