]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - filter_chain.c
make header_len an integer
[paraslash.git] / filter_chain.c
index d22ef28eed3cbaa1e38f1b15f2f0b73a1ce7b011..d59ff7094fc37075b97f914b925d3ac776439591 100644 (file)
@@ -196,7 +196,7 @@ static int parse_filter_args(int filter_num, char *options, void **conf)
                return options? -E_BAD_FILTER_OPTIONS : filter_num;
        if (options) {
 //             PARA_DEBUG_LOG("options: %s\n", options);
-               argc = split_args(options, &argv, ':');
+               argc = split_args(options, &argv, ' ');
 //             PARA_DEBUG_LOG("argc = %d, argv[0]: %s\n", argc, argv[0]);
                for (i = argc; i >= 0; i--)
                        argv[i + 1] = argv[i];
@@ -242,7 +242,7 @@ int check_filter_arg(char *fa, void **conf)
                if (strncmp(name, fa, len))
                        continue;
                c = fa[len];
-               if (c && c != ':')
+               if (c && c != ' ')
                        continue;
                if (c && !filters[j].parse_config)
                        return -E_BAD_FILTER_OPTIONS;