aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-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);