mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
Replace tabs with spaces
This commit is contained in:
parent
b4af26a188
commit
3cbc8d1ba3
22
src/main.c
22
src/main.c
@ -4388,9 +4388,9 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
if(config->create_dirs &&
|
if(config->create_dirs &&
|
||||||
(-1 == create_dir_hierarchy(outfile, config->errors))) {
|
(-1 == create_dir_hierarchy(outfile, config->errors))) {
|
||||||
free(url);
|
free(url);
|
||||||
res = CURLE_WRITE_ERROR;
|
res = CURLE_WRITE_ERROR;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(config->resume_from_current) {
|
if(config->resume_from_current) {
|
||||||
/* We're told to continue from where we are now. Get the
|
/* We're told to continue from where we are now. Get the
|
||||||
@ -4416,8 +4416,8 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
if (!outs.stream) {
|
if (!outs.stream) {
|
||||||
helpf(config->errors, "Can't open '%s'!\n", outfile);
|
helpf(config->errors, "Can't open '%s'!\n", outfile);
|
||||||
free(url);
|
free(url);
|
||||||
res = CURLE_WRITE_ERROR;
|
res = CURLE_WRITE_ERROR;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@ -4463,8 +4463,8 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
if(!urlbuffer) {
|
if(!urlbuffer) {
|
||||||
helpf(config->errors, "out of memory\n");
|
helpf(config->errors, "out of memory\n");
|
||||||
free(url);
|
free(url);
|
||||||
res = CURLE_OUT_OF_MEMORY;
|
res = CURLE_OUT_OF_MEMORY;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(ptr)
|
if(ptr)
|
||||||
/* there is a trailing slash on the URL */
|
/* there is a trailing slash on the URL */
|
||||||
@ -4583,8 +4583,8 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
inglob = NULL;
|
inglob = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
res = CURLE_OUT_OF_MEMORY;
|
res = CURLE_OUT_OF_MEMORY;
|
||||||
goto quit_urls;
|
goto quit_urls;
|
||||||
}
|
}
|
||||||
if (pc)
|
if (pc)
|
||||||
sprintf(urlbuffer, "%s%c%s", url, sep, httpgetfields);
|
sprintf(urlbuffer, "%s%c%s", url, sep, httpgetfields);
|
||||||
@ -4749,8 +4749,8 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
inglob = NULL;
|
inglob = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
res = CURLE_OUT_OF_MEMORY;
|
res = CURLE_OUT_OF_MEMORY;
|
||||||
goto quit_urls;
|
goto quit_urls;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user