aboutsummaryrefslogtreecommitdiff
path: root/src/wrapacl.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-02-12 23:08:49 +0200
committerSergey Poznyakoff <gray@gnu.org>2020-02-12 23:08:49 +0200
commit1d1687c574bcbf5a7f54cb45763ad36fa70b3c2a (patch)
treeb61ae0ad99c3654684391c62bb1a1d29d1908273 /src/wrapacl.c
parent28c6a911174d2ce2672e44b55e3e09c05adfad3f (diff)
downloadping903-1d1687c574bcbf5a7f54cb45763ad36fa70b3c2a.tar.gz
ping903-1d1687c574bcbf5a7f54cb45763ad36fa70b3c2a.tar.bz2
Add manpages
Diffstat (limited to 'src/wrapacl.c')
-rw-r--r--src/wrapacl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrapacl.c b/src/wrapacl.c
index de6c2dd..f195f04 100644
--- a/src/wrapacl.c
+++ b/src/wrapacl.c
@@ -6,13 +6,14 @@ There is NO WARRANTY, to the extent permitted by law.
*/
#include <tcpd.h>
#include <microhttpd.h>
+#include "defs.h"
int
p903_httpd_acl(void *cls, const struct sockaddr *addr, socklen_t addrlen)
{
struct request_info req;
request_init(&req,
- RQ_DAEMON, "ping903",
+ RQ_DAEMON, progname,
RQ_CLIENT_SIN, addr,
RQ_SERVER_SIN, cls,
NULL);

Return to:

Send suggestions and report system problems to the System administrator.