aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/calendar-conduit.c2
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c2
-rw-r--r--calendar/gui/calendar-conduit.c2
4 files changed, 11 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index c5156c15e3..996f2e218a 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+1999-11-22 Eskil Heyn Olsen <deity@eskil.dk>
+
+ * calendar-conduit.c (pre_sync): Writes some warning
+ messages when pre_sync fails.
+
1999-11-14 Eskil Heyn Olsen <deity@eskil.dk>
* Makefile.am: Stupid misplaced endif cause gncal to depend on an
diff --git a/calendar/calendar-conduit.c b/calendar/calendar-conduit.c
index 55b4728fc0..e8157e7826 100644
--- a/calendar/calendar-conduit.c
+++ b/calendar/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);
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c
index 55b4728fc0..e8157e7826 100644
--- a/calendar/conduits/calendar/calendar-conduit.c
+++ b/calendar/conduits/calendar/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);
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);