aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-conduit.c
diff options
context:
space:
mode:
authorEskil Heyn Olsen <eskil@src.gnome.org>1999-11-22 09:20:45 +0800
committerEskil Heyn Olsen <eskil@src.gnome.org>1999-11-22 09:20:45 +0800
commitc75604cac3dc935f89bc1a229e089caf20ef6582 (patch)
treeaef8db1df417c3ca7a607283c00c19a9093b61a2 /calendar/gui/calendar-conduit.c
parent6da1a1362b1f2c633ec06c3e89b2f06828cb0dc7 (diff)
downloadgsoc2013-evolution-c75604cac3dc935f89bc1a229e089caf20ef6582.tar
gsoc2013-evolution-c75604cac3dc935f89bc1a229e089caf20ef6582.tar.gz
gsoc2013-evolution-c75604cac3dc935f89bc1a229e089caf20ef6582.tar.bz2
gsoc2013-evolution-c75604cac3dc935f89bc1a229e089caf20ef6582.tar.lz
gsoc2013-evolution-c75604cac3dc935f89bc1a229e089caf20ef6582.tar.xz
gsoc2013-evolution-c75604cac3dc935f89bc1a229e089caf20ef6582.tar.zst
gsoc2013-evolution-c75604cac3dc935f89bc1a229e089caf20ef6582.zip
Writes some warning messages when pre_sync fails.
* calendar-conduit.c (pre_sync): Writes some warning messages when pre_sync fails. svn path=/trunk/; revision=1427
Diffstat (limited to 'calendar/gui/calendar-conduit.c')
-rw-r--r--calendar/gui/calendar-conduit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/calendar-conduit.c b/calendar/gui/calendar-conduit.c
index 55b4728fc0..e8157e7826 100644
--- a/calendar/gui/calendar-conduit.c
+++ b/calendar/gui/calendar-conduit.c
@@ -590,6 +590,7 @@ pre_sync(GnomePilotConduit *c,
ctxt->calendar = CORBA_OBJECT_NIL;
if (start_calendar_server(GNOME_PILOT_CONDUIT_STANDARD_ABS(c),GET_GCALCONTEXT(c)) != 0) {
+ WARN(_("Could not start gnomecal server"));
return -1;
}
@@ -599,6 +600,7 @@ pre_sync(GnomePilotConduit *c,
buf = (unsigned char*)g_malloc(0xffff);
if((l=dlp_ReadAppBlock(dbi->pilot_socket,dbi->db_handle,0,(unsigned char *)buf,0xffff))<0) {
+ WARN(_("Could not read pilot's Appoint application block"));
return -1;
}
unpack_AppointmentAppInfo(&(ctxt->ai),buf,l);