conf.c (conf_fname): Don't make `,' a filename character.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 13 May 2011 19:28:12 +0000 (20:28 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 13 May 2011 19:28:12 +0000 (20:28 +0100)
This wasn't documented anyway, and it conflicts with the use of `,' as a
filename separator in the file endpoint definition syntax.

conf.c

diff --git a/conf.c b/conf.c
index 73cb20e..70b6506 100644 (file)
--- a/conf.c
+++ b/conf.c
@@ -381,7 +381,7 @@ void conf_name(scanner *sc, char delim, dstr *d)
 
 void conf_fname(scanner *sc, dstr *d)
 {
-  const char fnchars[] = ".-+,";
+  const char fnchars[] = ".-+";
   conf_undelim(sc, fnchars, fnchars);
   conf_name(sc, '/', d);
   conf_undelim(sc, 0, 0);