From 8e3a6497a2833f50c803c4651e4e25c991ab1057 Mon Sep 17 00:00:00 2001 From: venaas Date: Wed, 13 Jun 2007 11:08:00 +0000 Subject: fixed syslog url syntax, updated example config and added manpages. this may be the alpha-p1 release unless other log messages for alpha-p1 follows git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.0@131 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- debug.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debug.c') diff --git a/debug.c b/debug.c index c36a7be..51ea91f 100644 --- a/debug.c +++ b/debug.c @@ -70,6 +70,8 @@ int debug_set_destination(char *dest) { } if (!strncasecmp(dest, "x-syslog://", 11)) { dest += 11; + if (*dest == '/') + dest++; if (*dest) { for (i = 0; facstrings[i]; i++) if (!strcasecmp(dest, facstrings[i])) -- cgit v1.1