mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:33:31 +03:00
code style: use spaces around equals signs
This commit is contained in:
parent
e155f38d1e
commit
6b84438d9a
144 changed files with 995 additions and 990 deletions
|
|
@ -192,7 +192,7 @@ static const char *ContentTypeForFilename(const char *filename,
|
|||
contenttype = HTTPPOST_CONTENTTYPE_DEFAULT;
|
||||
|
||||
if(filename) { /* in case a NULL was passed in */
|
||||
for(i=0; i<sizeof(ctts)/sizeof(ctts[0]); i++) {
|
||||
for(i = 0; i<sizeof(ctts)/sizeof(ctts[0]); i++) {
|
||||
if(strlen(filename) >= strlen(ctts[i].extension)) {
|
||||
if(strcasecompare(filename +
|
||||
strlen(filename) - strlen(ctts[i].extension),
|
||||
|
|
@ -267,7 +267,7 @@ CURLFORMcode FormAdd(struct curl_httppost **httppost,
|
|||
struct curl_httppost *post = NULL;
|
||||
CURLformoption option;
|
||||
struct curl_forms *forms = NULL;
|
||||
char *array_value=NULL; /* value read from an array */
|
||||
char *array_value = NULL; /* value read from an array */
|
||||
|
||||
/* This is a state variable, that if TRUE means that we're parsing an
|
||||
array that we got passed to us. If FALSE we're parsing the input
|
||||
|
|
@ -795,7 +795,7 @@ void curl_formfree(struct curl_httppost *form)
|
|||
return;
|
||||
|
||||
do {
|
||||
next=form->next; /* the following form line */
|
||||
next = form->next; /* the following form line */
|
||||
|
||||
/* recurse to sub-contents */
|
||||
curl_formfree(form->more);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue