Loading lib/formdata.c +1 −1 Original line number Diff line number Diff line Loading @@ -423,7 +423,7 @@ CURLFORMcode FormAdd(struct curl_httppost **httppost, while(return_value == CURL_FORMADD_OK) { /* first see if we have more parts of the array param */ if( array_state ) { if( array_state && forms ) { /* get the upcoming option from the given array */ option = forms->option; array_value = (char *)forms->value; Loading lib/url.c +4 −2 Original line number Diff line number Diff line Loading @@ -3681,7 +3681,7 @@ static CURLcode parse_proxy(struct SessionHandle *data, char *endofprot; /* We use 'proxyptr' to point to the proxy name from now on... */ char *proxyptr=proxy; char *proxyptr; char *portptr; char *atsign; Loading @@ -3691,9 +3691,11 @@ static CURLcode parse_proxy(struct SessionHandle *data, */ /* Skip the protocol part if present */ endofprot=strstr(proxyptr, "://"); endofprot = strstr(proxy, "://"); if(endofprot) proxyptr = endofprot+3; else proxyptr = proxy; /* Is there a username and password given in this proxy url? */ atsign = strchr(proxyptr, '@'); Loading Loading
lib/formdata.c +1 −1 Original line number Diff line number Diff line Loading @@ -423,7 +423,7 @@ CURLFORMcode FormAdd(struct curl_httppost **httppost, while(return_value == CURL_FORMADD_OK) { /* first see if we have more parts of the array param */ if( array_state ) { if( array_state && forms ) { /* get the upcoming option from the given array */ option = forms->option; array_value = (char *)forms->value; Loading
lib/url.c +4 −2 Original line number Diff line number Diff line Loading @@ -3681,7 +3681,7 @@ static CURLcode parse_proxy(struct SessionHandle *data, char *endofprot; /* We use 'proxyptr' to point to the proxy name from now on... */ char *proxyptr=proxy; char *proxyptr; char *portptr; char *atsign; Loading @@ -3691,9 +3691,11 @@ static CURLcode parse_proxy(struct SessionHandle *data, */ /* Skip the protocol part if present */ endofprot=strstr(proxyptr, "://"); endofprot = strstr(proxy, "://"); if(endofprot) proxyptr = endofprot+3; else proxyptr = proxy; /* Is there a username and password given in this proxy url? */ atsign = strchr(proxyptr, '@'); Loading