mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-14 17:58:11 +08:00
Squashed warning
This commit is contained in:
parent
c15e2af897
commit
e47b5b775a
@ -5192,7 +5192,7 @@ struct mg_context *mg_start(const struct mg_callbacks *callbacks,
|
|||||||
// Start worker threads
|
// Start worker threads
|
||||||
for (i = 0; i < atoi(ctx->config[NUM_THREADS]); i++) {
|
for (i = 0; i < atoi(ctx->config[NUM_THREADS]); i++) {
|
||||||
if (mg_start_thread(worker_thread, ctx) != 0) {
|
if (mg_start_thread(worker_thread, ctx) != 0) {
|
||||||
cry(fc(ctx), "Cannot start worker thread: %ld", ERRNO);
|
cry(fc(ctx), "Cannot start worker thread: %ld", (long) ERRNO);
|
||||||
} else {
|
} else {
|
||||||
ctx->num_threads++;
|
ctx->num_threads++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user