summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorvenaas <venaas>2007-06-13 11:01:50 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-06-13 11:01:50 +0000
commit545da42b057ce323d592cf556f5d448b1fd6625a (patch)
tree8e9fe86577ad8e3f3a96f40c2b6993e24740cf6e /debug.c
parent1ebcdd0a5faad9460a4a599e6f47312019cf8d58 (diff)
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
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 2 insertions, 0 deletions
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]))