Skip to content
Snippets Groups Projects
Commit c037f1ab authored by BJ Weschke's avatar BJ Weschke
Browse files

Merged revisions 24669 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24669 | bweschke | 2006-05-04 06:17:13 -0500 (Thu, 04 May 2006) | 3 lines

 Make sure that only the "|" is a recognized delimiter for Verbose(), as the app documentation already specifies. #7080 (alessiof reporting)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 21789c39
Branches
Tags
No related merge requests found
...@@ -66,7 +66,7 @@ static int verbose_exec(struct ast_channel *chan, void *data) ...@@ -66,7 +66,7 @@ static int verbose_exec(struct ast_channel *chan, void *data)
if (data) { if (data) {
if ((vtext = ast_strdupa(data))) { if ((vtext = ast_strdupa(data))) {
char *tmp = strsep(&vtext, "|,"); char *tmp = strsep(&vtext, "|");
if (vtext) { if (vtext) {
if (sscanf(tmp, "%d", &vsize) != 1) { if (sscanf(tmp, "%d", &vsize) != 1) {
vsize = 0; vsize = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment