[evolution-data-server] e_cal_client_modify_objects_sync: Fix infinite loop.



commit 26792bbac3b5d48ed3751c5229855bcc22f7b21a
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Feb 22 08:03:06 2013 -0500

    e_cal_client_modify_objects_sync: Fix infinite loop.

 calendar/libecal/e-cal-client.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/calendar/libecal/e-cal-client.c b/calendar/libecal/e-cal-client.c
index a163ed0..a761f8c 100644
--- a/calendar/libecal/e-cal-client.c
+++ b/calendar/libecal/e-cal-client.c
@@ -4966,6 +4966,8 @@ e_cal_client_modify_objects_sync (ECalClient *client,
                ical_string = icalcomponent_as_ical_string_r (comps->data);
                strv[ii++] = e_util_utf8_make_valid (ical_string);
                g_free (ical_string);
+
+               comps = g_slist_next (comps);
        }
 
        success = e_dbus_calendar_call_modify_objects_sync (


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]