]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
ccss.c: Replace space in taskprocessor name. 50/1950/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 03:05:16 +0000 (21:05 -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 51edae745bac165d62168dab00b10f0ffabb70c6..307f71b96a1d4fe1840904baa72274d687aed3b6 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())) {