diff options
Diffstat (limited to 'src/testcurl/test_concurrent_stop.c')
-rw-r--r-- | src/testcurl/test_concurrent_stop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testcurl/test_concurrent_stop.c b/src/testcurl/test_concurrent_stop.c index 3409d472..263aaf0a 100644 --- a/src/testcurl/test_concurrent_stop.c +++ b/src/testcurl/test_concurrent_stop.c | |||
@@ -169,7 +169,10 @@ do_gets (void * param) | |||
169 | char url[64]; | 169 | char url[64]; |
170 | int port = (int)(intptr_t)param; | 170 | int port = (int)(intptr_t)param; |
171 | 171 | ||
172 | sprintf(url, "http://127.0.0.1:%d/hello_world", port); | 172 | snprintf (url, |
173 | sizeof (url), | ||
174 | "http://127.0.0.1:%d/hello_world", | ||
175 | port); | ||
173 | 176 | ||
174 | for (j=0;j<PAR;j++) | 177 | for (j=0;j<PAR;j++) |
175 | { | 178 | { |