Skip to content
Snippets Groups Projects
Commit eea40f20 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

First field was truncated.

(Don't kill me; this attempted merge didn't work because the paths changed.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent cbab5373
Branches
Tags
No related merge requests found
......@@ -120,8 +120,9 @@ static int sort_internal(struct ast_channel *chan, char *data, char *buffer, siz
int blen = strlen(buffer);
if (element_count++) {
strncat(buffer + blen, ",", buflen - blen - 1);
blen++;
}
strncat(buffer + blen + 1, sortable_keys[count2].key, buflen - blen - 2);
strncat(buffer + blen, sortable_keys[count2].key, buflen - blen - 1);
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment