From 545da42b057ce323d592cf556f5d448b1fd6625a Mon Sep 17 00:00:00 2001 From: venaas Date: Wed, 13 Jun 2007 11:01:50 +0000 Subject: fixed syslog url syntax, updated example config and manpage git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@130 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