ccss.c: Replace space in taskprocessor name.
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 51edae7..307f71b 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())) {