diff options
Diffstat (limited to 'docs/examples/multithread.c')
-rw-r--r-- | docs/examples/multithread.c | 4 |
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); } |