evolution-data-server r8593 - in trunk/calendar: . libecal
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8593 - in trunk/calendar: . libecal
- Date: Thu, 27 Mar 2008 13:15:53 +0000 (GMT)
Author: mcrha
Date: Thu Mar 27 13:15:53 2008
New Revision: 8593
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8593&view=rev
Log:
2008-03-27  Milan Crha  <mcrha redhat com>
	** Fix for bug #523533
	* libecal/e-cal-component.c: (e_cal_component_get_recurid_as_string):
	Always return NULL or new allocated string.
Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/libecal/e-cal-component.c
Modified: trunk/calendar/libecal/e-cal-component.c
==============================================================================
--- trunk/calendar/libecal/e-cal-component.c	(original)
+++ trunk/calendar/libecal/e-cal-component.c	Thu Mar 27 13:15:53 2008
@@ -3572,7 +3572,7 @@
 
         e_cal_component_get_recurid (comp, &range);
         if (!range.datetime.value)
-                return "0";
+                return g_strdup ("0");
         tt = *range.datetime.value;
         e_cal_component_free_range (&range);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]