From 940294e0758239f337f76f3c0f096a8cd632f2ca Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 30 Nov 2020 13:06:32 +0000 Subject: Fix build; adapt to skalibs-2.10.0.0 --- src/pub/skabus-pub-daemon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pub/skabus-pub-daemon.c') diff --git a/src/pub/skabus-pub-daemon.c b/src/pub/skabus-pub-daemon.c index a865186..b27c04e 100644 --- a/src/pub/skabus-pub-daemon.c +++ b/src/pub/skabus-pub-daemon.c @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include @@ -15,7 +15,7 @@ #define USAGE "skabus-pub-daemon [ -v verbosity ] [ -d | -D ] [ -1 ] [ -c maxconn ] [ -b backlog ] [ -G gid,gid,... ] [ -g gid ] [ -u uid ] [ -U ] [ -t timeout ] [ -T lameducktimeout ] [ -i rulesdir | -x rulesfile ] [ -S | -s ] [ -k announcere ] path msgfsdir" #define dieusage() strerr_dieusage(100, USAGE) -int main (int argc, char const *const *argv, char const *const *envp) +int main (int argc, char const *const *argv) { unsigned int verbosity = 1 ; int flag1 = 0 ; @@ -157,6 +157,6 @@ int main (int argc, char const *const *argv, char const *const *envp) newargv[m++] = "--" ; newargv[m++] = *argv++ ; newargv[m++] = 0 ; - xpathexec_run(newargv[0], newargv, envp) ; + xexec(newargv) ; } } -- cgit v1.3.1