mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-24 11:09:01 +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
|
||||
for (i = 0; i < atoi(ctx->config[NUM_THREADS]); i++) {
|
||||
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 {
|
||||
ctx->num_threads++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user