]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
ccss.c: Replace space in taskprocessor name. 41/1941/2
authorRichard Mudgett <rmudgett@digium.com>
Thu, 7 Jan 2016 01:00:27 +0000 (19:00 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 9 Jan 2016 02:12:34 +0000 (20:12 -0600)
The CLI "core ping taskprocessor" command does not work very
well with taskprocessor names that have spaces in them.  You
have to put quotes around the name so using tab completion
becomes awkward.

Change-Id: I29e806dd0a8a0256f4e2e0a7ab88c9e19ab0eda0

main/ccss.c

index 0605810c57ddcfa9225b5262f93a3b4f97eee528..f39eed9706af174945913a3728feee1bf449cf99 100644 (file)
@@ -4663,7 +4663,7 @@ int ast_cc_init(void)
                                        "Create generic monitor container"))) {
                return -1;
        }
-       if (!(cc_core_taskprocessor = ast_taskprocessor_get("CCSS core", TPS_REF_DEFAULT))) {
+       if (!(cc_core_taskprocessor = ast_taskprocessor_get("CCSS_core", TPS_REF_DEFAULT))) {
                return -1;
        }
        if (!(cc_sched_context = ast_sched_context_create())) {