1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Autoformat after merging pull request

This commit is contained in:
bel
2015-08-16 23:56:57 +02:00
parent d7acd43548
commit f3bf12b0f5
2 changed files with 6 additions and 5 deletions

View File

@@ -751,7 +751,7 @@ CIVETWEB_API unsigned mg_check_feature(unsigned feature);
2: context has stopped 2: context has stopped
-1: Invalid context -1: Invalid context
*/ */
CIVETWEB_API int mg_is_ctx_stopped(const struct mg_context* ctx); CIVETWEB_API int mg_is_ctx_stopped(const struct mg_context *ctx);
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@@ -10787,9 +10787,10 @@ struct mg_context *mg_start(const struct mg_callbacks *callbacks,
return ctx; return ctx;
} }
int mg_is_ctx_stopped(const struct mg_context* ctx) int mg_is_ctx_stopped(const struct mg_context *ctx)
{ {
if (!ctx) return -1; if (!ctx)
return -1;
return ctx->stop_flag; return ctx->stop_flag;
} }