]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
ccss.c: Replace space in taskprocessor name. 38/1938/1
authorRichard Mudgett <rmudgett@digium.com>
Thu, 7 Jan 2016 01:00:27 +0000 (19:00 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 8 Jan 2016 18:48:44 +0000 (12:48 -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 aeb902da554ea8f71faa60c9b211468ed45260a3..8e800c5d7084c13c31fb8c3cff76101ca59f18ba 100644 (file)
@@ -4560,7 +4560,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())) {