diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-08-20 06:31:37 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-08-20 06:31:37 -0700 |
| commit | d88d8fcd9a484e30cf50b96f215c827f6e26c8ac (patch) | |
| tree | 377cf6dc0defc18cc2809febc1c11fe6fcc6a06d /src/supplemental/http | |
| parent | 82dce653c6fdbd7170bfe1c17c7a7f50b6e05732 (diff) | |
| download | nng-d88d8fcd9a484e30cf50b96f215c827f6e26c8ac.tar.gz nng-d88d8fcd9a484e30cf50b96f215c827f6e26c8ac.tar.bz2 nng-d88d8fcd9a484e30cf50b96f215c827f6e26c8ac.zip | |
fixes #662 Configuring without HTTP fails
Diffstat (limited to 'src/supplemental/http')
| -rw-r--r-- | src/supplemental/http/http_public.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/supplemental/http/http_public.c b/src/supplemental/http/http_public.c index 94e51ed0..f275db28 100644 --- a/src/supplemental/http/http_public.c +++ b/src/supplemental/http/http_public.c @@ -618,6 +618,7 @@ nng_http_server_hold(nng_http_server **srvp, const nng_url *url) #else NNI_ARG_UNUSED(srvp); NNI_ARG_UNUSED(url); + return (NNG_ENOTSUP); #endif } @@ -638,6 +639,7 @@ nng_http_server_start(nng_http_server *srv) return (nni_http_server_start(srv)); #else NNI_ARG_UNUSED(srv); + return (NNG_ENOTSUP); #endif } @@ -735,7 +737,6 @@ nng_http_server_res_error(nng_http_server *srv, nng_http_res *res) #else NNI_ARG_UNUSED(srv); NNI_ARG_UNUSED(res); - NNI_ARG_UNUSED(code); return (NNG_ENOTSUP); #endif } |
