[asterisk-commits] trunk r19813 - in /trunk: ./ apps/app_page.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Apr 13 10:41:43 MST 2006
Author: kpfleming
Date: Thu Apr 13 12:41:43 2006
New Revision: 19813
URL: http://svn.digium.com/view/asterisk?rev=19813&view=rev
Log:
Merged revisions 19812 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r19812 | kpfleming | 2006-04-13 12:40:21 -0500 (Thu, 13 Apr 2006) | 2 lines
oops... let's not set a variable and then immediately overwrite it while assuming its old value will magically return
........
Modified:
trunk/ (props changed)
trunk/apps/app_page.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: trunk/apps/app_page.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_page.c?rev=19813&r1=19812&r2=19813&view=diff
==============================================================================
--- trunk/apps/app_page.c (original)
+++ trunk/apps/app_page.c Thu Apr 13 12:41:43 2006
@@ -167,15 +167,15 @@
return -1;
}
+ ast_copy_string(originator, chan->name, sizeof(originator));
+ if ((tmp = strchr(originator, '-')))
+ *tmp = '\0';
+
tmp = strsep(&options, "|");
if (options)
ast_app_parse_options(page_opts, &flags, NULL, options);
snprintf(meetmeopts, sizeof(meetmeopts), "%ud|%sqxdw", confid, ast_test_flag(&flags, PAGE_DUPLEX) ? "" : "m");
-
- ast_copy_string(originator, chan->name, sizeof(originator));
- if ((tmp = strchr(originator, '-')))
- *tmp = '\0';
while ((tech = strsep(&tmp, "&"))) {
/* don't call the originating device */
More information about the asterisk-commits
mailing list