From 6371aa4a329afcf6780b31da8ea4ae785db87dea Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 28 Sep 2007 14:15:21 +0000 Subject: [PATCH] Allow '-' in attributes together with required attributes (JS problem) SVN revision: 1929 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index bf37866a..d873e035 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -1492,7 +1492,7 @@ void stou(char *str) int i; for (i = 0; i < (int) strlen(str); i++) - if (str[i] == ' ' || str[i] == '.' || str[i] == '/' || str[i] == '\\') + if (str[i] == ' ' || str[i] == '.' || str[i] == '/' || str[i] == '\\' || str[i] == '-') str[i] = '_'; }