summaryrefslogtreecommitdiff
path: root/docs/examples/multithread.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2024-09-18 15:29:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2024-09-19 14:59:12 +0200
commitfbf5d507cef9880d0d3db2ce0231dc31309790ee (patch)
tree08f66ee5940c83979c3389fa05d1b8984069038e /docs/examples/multithread.c
parenta57b45c38656ba2124303800a3b9580b3d85681b (diff)
lib/src: white space edits to comply better with code style
... as checksrc now finds and complains about these. Closes #14921
Diffstat (limited to 'docs/examples/multithread.c')
-rw-r--r--docs/examples/multithread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/multithread.c b/docs/examples/multithread.c
index cc4ce7c12..299edd57a 100644
--- a/docs/examples/multithread.c
+++ b/docs/examples/multithread.c
@@ -75,7 +75,7 @@ int main(int argc, char **argv)
/* Must initialize libcurl before any threads are started */
curl_global_init(CURL_GLOBAL_ALL);
- for(i = 0; i< NUMT; i++) {
+ for(i = 0; i < NUMT; i++) {
int error = pthread_create(&tid[i],
NULL, /* default attributes please */
pull_one_url,
@@ -87,7 +87,7 @@ int main(int argc, char **argv)
}
/* now wait for all threads to terminate */
- for(i = 0; i< NUMT; i++) {
+ for(i = 0; i < NUMT; i++) {
pthread_join(tid[i], NULL);
fprintf(stderr, "Thread %d terminated\n", i);
}