[asterisk-commits] pitel: trunk r284853 - in /trunk: ./ res/res_calendar_ews.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 3 08:09:27 CDT 2010
Author: pitel
Date: Fri Sep 3 08:09:23 2010
New Revision: 284853
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=284853
Log:
Merge of strdupa() fix for calendars categories priorities
Modified:
trunk/ (props changed)
trunk/res/res_calendar_ews.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: trunk/res/res_calendar_ews.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_calendar_ews.c?view=diff&rev=284853&r1=284852&r2=284853
==============================================================================
--- trunk/res/res_calendar_ews.c (original)
+++ trunk/res/res_calendar_ews.c Fri Sep 3 08:09:23 2010
@@ -604,7 +604,7 @@
/* Event categories*/
if (strlen(event->categories) > 0) {
ast_str_append(&request, 0, "<Categories>");
- categories = strdupa(event->categories); /* Duplicate string, since strsep() is destructive */
+ categories = ast_strdupa(event->categories); /* Duplicate string, since strsep() is destructive */
category = strsep(&categories, ",");
while (category != NULL) {
ast_str_append(&request, 0, "<String>%s</String>", category);
More information about the asterisk-commits
mailing list