diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-12-07 17:43:40 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-12-07 17:43:40 +0200 |
commit | 261b55da70c1ab22c3729b823012ae30963f93d4 (patch) | |
tree | ecc5520ff5c25866365cd0394d99d8fbaf9a2819 | |
parent | 1f528cbd617b49d20bbfc30c16e3dd810849b136 (diff) | |
download | pies-261b55da70c1ab22c3729b823012ae30963f93d4.tar.gz pies-261b55da70c1ab22c3729b823012ae30963f93d4.tar.bz2 |
Bugfix
* src/syslog.c (pies_syslog_set_dev): Fix the return value.
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | src/syslog.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -51,6 +51,12 @@ or the IP[:PORT] specification, e.g. dev 172.31.255.252; } +* New control endpoint /alive + +A GET requets to /alive/PROG reflects the current state of the +component PROG: 200 if it is running, 503 if not, and 404 if there's +no such component. + Version 1.4, 2019-07-02 diff --git a/src/syslog.c b/src/syslog.c index 38754a7..a2a6482 100644 --- a/src/syslog.c +++ b/src/syslog.c @@ -472,4 +472,5 @@ pies_syslog_set_dev (char const *dev) pies_log_dev = p; pies_syslog_close (); log_salen = 0; + return 0; } |