X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.c;h=54c097e0ba2f0ec9c4a41da25e67b65cd23a6c9d;hb=93d8d6f69399dacbb43c0780ebccc378b4f44880;hp=fa16565ab677bccab1c6718cd8beab89b651fb6b;hpb=6c003255918fc85b693a4b0becf45016d1282dfe;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.c b/src/afb-hreq.c index fa16565a..54c097e0 100644 --- a/src/afb-hreq.c +++ b/src/afb-hreq.c @@ -36,6 +36,7 @@ #include "afb-msg-json.h" #include "afb-context.h" #include "afb-hreq.h" +#include "afb-hsrv.h" #include "afb-session.h" #include "afb-cred.h" #include "verbose.h" @@ -168,10 +169,9 @@ static void afb_hreq_reply_v(struct afb_hreq *hreq, unsigned status, struct MHD_ hreq->replied = 1; if (hreq->suspended != 0) { - extern void run_micro_httpd(struct afb_hsrv *hsrv); MHD_resume_connection (hreq->connection); hreq->suspended = 0; - run_micro_httpd(hreq->hsrv); + afb_hsrv_run(hreq->hsrv); } }