summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorvenaas <venaas>2007-06-13 11:08:00 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-06-13 11:08:00 +0000
commit8e3a6497a2833f50c803c4651e4e25c991ab1057 (patch)
tree845c0dd9596f1bb661785623348632a67da15b25 /debug.c
parentf4921bf85b87cfa641878160b9b6525eaef25d3d (diff)
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
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]))