Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afb-systemd: Isolate systemd main entries
[src/app-framework-binder.git]
/
src
/
afb-hsrv.c
diff --git
a/src/afb-hsrv.c
b/src/afb-hsrv.c
index
d06d8fc
..
1db59cd
100644
(file)
--- a/
src/afb-hsrv.c
+++ b/
src/afb-hsrv.c
@@
-38,7
+38,7
@@
#include "verbose.h"
#include "locale-root.h"
#include "verbose.h"
#include "locale-root.h"
-#include "afb-
common
.h"
+#include "afb-
systemd
.h"
#include "jobs.h"
#define JSON_CONTENT "application/json"
#include "jobs.h"
#define JSON_CONTENT "application/json"
@@
-420,7
+420,7
@@
int afb_hsrv_start(struct afb_hsrv *hsrv, uint16_t port, unsigned int connection
return 0;
}
return 0;
}
- rc = sd_event_add_io(afb_
common
_get_event_loop(), &evsrc, info->listen_fd, EPOLLIN, io_event_callback, hsrv);
+ rc = sd_event_add_io(afb_
systemd
_get_event_loop(), &evsrc, info->listen_fd, EPOLLIN, io_event_callback, hsrv);
if (rc < 0) {
MHD_stop_daemon(httpd);
errno = -rc;
if (rc < 0) {
MHD_stop_daemon(httpd);
errno = -rc;