diff options
Diffstat (limited to 'funcs/func_cut.c')
-rw-r--r-- | funcs/func_cut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_cut.c b/funcs/func_cut.c index 41710b978..4466e3269 100644 --- a/funcs/func_cut.c +++ b/funcs/func_cut.c @@ -78,7 +78,7 @@ static int sort_internal(struct ast_channel *chan, char *data, char *buffer, siz strings = ast_strdupa(data); for (ptrkey = strings; *ptrkey; ptrkey++) { - if (*ptrkey == '|') + if (*ptrkey == ',') count++; } @@ -88,7 +88,7 @@ static int sort_internal(struct ast_channel *chan, char *data, char *buffer, siz /* Parse each into a struct */ count2 = 0; - while ((ptrkey = strsep(&strings, "|"))) { + while ((ptrkey = strsep(&strings, ","))) { ptrvalue = index(ptrkey, ':'); if (!ptrvalue) { count--; |