]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
(OPENZAP-17) make # not a special char in config files now.
authorMichael Jerris <mike@jerris.com>
Tue, 23 Sep 2008 15:58:44 +0000 (15:58 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 23 Sep 2008 15:58:44 +0000 (15:58 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@562 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/zap_config.c

index f27fa04621274fb58b9c853269069d1e3918443b..cce3507f25fd50e156fec640976abafb4d0017d6 100644 (file)
@@ -157,7 +157,7 @@ int zap_config_next_pair(zap_config_t *cfg, char **var, char **val)
                }
 
 
-               if (((end = strchr(*var, '#')) || (end = strchr(*var, ';'))) && *(end+1) == *end) {
+               if ((end = strchr(*var, ';')) && *(end+1) == *end) {
                        *end = '\0';
                        end--;
                } else if ((end = strchr(*var, '\n')) != 0) {