diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-12-13 23:34:59 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-12-13 23:39:11 +0100 |
commit | b228d2952b6762b5c9b851fba0cf391e80c6761a (patch) | |
tree | d8d52d61b047a31b1c51851f1b48c4dc9cfcd1f4 /docs/examples/curlx.c | |
parent | 5fad800efdf1cb84f863f3634b85c898fb3d0d66 (diff) | |
download | curl-b228d2952b6762b5c9b851fba0cf391e80c6761a.tar.gz |
checksrc: stricter no-space-before-paren enforcement
In order to make the code style more uniform everywhere
Diffstat (limited to 'docs/examples/curlx.c')
-rw-r--r-- | docs/examples/curlx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c index e0d709999..3b11ef737 100644 --- a/docs/examples/curlx.c +++ b/docs/examples/curlx.c @@ -293,7 +293,7 @@ int main(int argc, char **argv) binaryptr = malloc(tabLength); p.verbose = 0; - p.errorbio = BIO_new_fp (stderr, BIO_NOCLOSE); + p.errorbio = BIO_new_fp(stderr, BIO_NOCLOSE); curl_global_init(CURL_GLOBAL_DEFAULT); @@ -408,7 +408,7 @@ int main(int argc, char **argv) } - p.errorbio = BIO_new_fp (stderr, BIO_NOCLOSE); + p.errorbio = BIO_new_fp(stderr, BIO_NOCLOSE); if(!(p.curl = curl_easy_init())) { BIO_printf(p.errorbio, "Cannot init curl lib\n"); @@ -419,7 +419,7 @@ int main(int argc, char **argv) BIO_printf(p.errorbio, "Error opening P12 file %s\n", p.p12file); goto err; } - if(!(p.p12 = d2i_PKCS12_bio (p12bio, NULL))) { + if(!(p.p12 = d2i_PKCS12_bio(p12bio, NULL))) { BIO_printf(p.errorbio, "Cannot decode P12 structure %s\n", p.p12file); goto err; } @@ -505,7 +505,7 @@ int main(int argc, char **argv) { int lu; int i=0; - while((lu = BIO_read (in, &binaryptr[i], tabLength-i)) >0) { + while((lu = BIO_read(in, &binaryptr[i], tabLength-i)) >0) { i+=lu; if(i== tabLength) { tabLength+=100; |