mirror of
https://github.com/curl/curl.git
synced 2026-07-25 02:37:18 +03:00
Changed some arrays of char* to arrays of char[] to reduce data size and
run-time relocations.
This commit is contained in:
parent
4198bb88b6
commit
7fc4e8af0a
4 changed files with 6 additions and 8 deletions
|
|
@ -2469,7 +2469,7 @@ get_pathname(const char **cpp, char **path)
|
|||
const char *cp = *cpp, *end;
|
||||
char quot;
|
||||
unsigned int i, j;
|
||||
static const char * const WHITESPACE = " \t\r\n";
|
||||
static const char WHITESPACE[] = " \t\r\n";
|
||||
|
||||
cp += strspn(cp, WHITESPACE);
|
||||
if(!*cp) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue