mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:03:47 +03:00
lib/src: white space edits to comply better with code style
... as checksrc now finds and complains about these. Closes #14921
This commit is contained in:
parent
a57b45c386
commit
fbf5d507ce
128 changed files with 854 additions and 837 deletions
|
|
@ -127,7 +127,7 @@ char *hexdump(const unsigned char *buffer, size_t len)
|
|||
size_t i;
|
||||
if(len > 200)
|
||||
return NULL;
|
||||
for(i = 0; i<len; i++, p += 3)
|
||||
for(i = 0; i < len; i++, p += 3)
|
||||
msnprintf(p, 4, "%02x ", buffer[i]);
|
||||
return dump;
|
||||
}
|
||||
|
|
@ -157,7 +157,7 @@ int main(int argc, char **argv)
|
|||
setlocale(LC_ALL, "");
|
||||
#endif
|
||||
|
||||
if(argc< 2) {
|
||||
if(argc < 2) {
|
||||
fprintf(stderr, "Pass URL as argument please\n");
|
||||
return 1;
|
||||
}
|
||||
|
|
@ -165,10 +165,10 @@ int main(int argc, char **argv)
|
|||
test_argc = argc;
|
||||
test_argv = argv;
|
||||
|
||||
if(argc>2)
|
||||
if(argc > 2)
|
||||
libtest_arg2 = argv[2];
|
||||
|
||||
if(argc>3)
|
||||
if(argc > 3)
|
||||
libtest_arg3 = argv[3];
|
||||
|
||||
URL = argv[1]; /* provide this to the rest */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue