diff options
Diffstat (limited to 'res/res_stasis_http_endpoints.c')
-rw-r--r-- | res/res_stasis_http_endpoints.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/res_stasis_http_endpoints.c b/res/res_stasis_http_endpoints.c index 2170784eb..81cdfeb0f 100644 --- a/res/res_stasis_http_endpoints.c +++ b/res/res_stasis_http_endpoints.c @@ -139,8 +139,10 @@ static struct stasis_rest_handlers endpoints = { static int load_module(void) { + int res = 0; stasis_app_ref(); - return stasis_http_add_handler(&endpoints); + res |= stasis_http_add_handler(&endpoints); + return res; } static int unload_module(void) |