aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-02-18 04:11:35 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-02-18 04:11:35 +0800
commit4fd506f57bbeb50e1cbb0c9feb0c578dd56396f0 (patch)
tree91e2908c894faa27bf28f22b412a0503d44fc375 /calendar/conduits
parent6bd268c9938d7680bf97e1adc6c3629a67a99439 (diff)
downloadgsoc2013-evolution-4fd506f57bbeb50e1cbb0c9feb0c578dd56396f0.tar
gsoc2013-evolution-4fd506f57bbeb50e1cbb0c9feb0c578dd56396f0.tar.gz
gsoc2013-evolution-4fd506f57bbeb50e1cbb0c9feb0c578dd56396f0.tar.bz2
gsoc2013-evolution-4fd506f57bbeb50e1cbb0c9feb0c578dd56396f0.tar.lz
gsoc2013-evolution-4fd506f57bbeb50e1cbb0c9feb0c578dd56396f0.tar.xz
gsoc2013-evolution-4fd506f57bbeb50e1cbb0c9feb0c578dd56396f0.tar.zst
gsoc2013-evolution-4fd506f57bbeb50e1cbb0c9feb0c578dd56396f0.zip
** Downstream patches from OpenSUSE
2008-02-18 Srinivasa Ragavan <sragavan@novell.com> ** Downstream patches from OpenSUSE * conduits/calendar/calendar-conduit.c: (local_record_to_pilot_record): * conduits/memo/memo-conduit.c: (local_record_to_pilot_record): * conduits/todo/todo-conduit.c: (local_record_to_pilot_record): svn path=/trunk/; revision=35031
Diffstat (limited to 'calendar/conduits')
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c2
-rw-r--r--calendar/conduits/memo/memo-conduit.c2
-rw-r--r--calendar/conduits/todo/todo-conduit.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c
index 9cc9227289..bdf6e4b01a 100644
--- a/calendar/conduits/calendar/calendar-conduit.c
+++ b/calendar/conduits/calendar/calendar-conduit.c
@@ -840,6 +840,8 @@ local_record_to_pilot_record (ECalLocalRecord *local,
static char record[0xffff];
#endif
+ memset(&p, 0, sizeof (p));
+
g_assert (local->comp != NULL);
g_assert (local->appt != NULL );
diff --git a/calendar/conduits/memo/memo-conduit.c b/calendar/conduits/memo/memo-conduit.c
index f84baf7fed..8d4ba9d25c 100644
--- a/calendar/conduits/memo/memo-conduit.c
+++ b/calendar/conduits/memo/memo-conduit.c
@@ -473,6 +473,8 @@ local_record_to_pilot_record (EMemoLocalRecord *local,
static char record[0xffff];
#endif
+ memset(&p, 0, sizeof (p));
+
g_assert (local->comp != NULL);
g_assert (local->memo != NULL );
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index e321940386..e8505e926d 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -621,6 +621,8 @@ local_record_to_pilot_record (EToDoLocalRecord *local,
memset (&p, 0, sizeof (GnomePilotRecord));
+ memset(&p, 0, sizeof (p));
+
p.ID = local->local.ID;
p.category = local->local.category;
p.attr = local->local.attr;