evolution-data-server/eds-warnings.patch

121 lines
4.0 KiB
Diff

=== modified file 'calendar/backends/contacts/e-cal-backend-contacts.c'
--- calendar/backends/contacts/e-cal-backend-contacts.c 2007-12-18 16:36:30 +0000
+++ calendar/backends/contacts/e-cal-backend-contacts.c 2007-12-18 16:41:03 +0000
@@ -389,7 +389,7 @@
static struct icaltimetype
cdate_to_icaltime (EContactDate *cdate)
{
- struct icaltimetype ret;
+ struct icaltimetype ret = icaltime_null_time();
ret.year = cdate->year;
ret.month = cdate->month;
=== modified file 'calendar/backends/groupwise/e-cal-backend-groupwise-utils.h'
--- calendar/backends/groupwise/e-cal-backend-groupwise-utils.h 2007-12-18 16:36:30 +0000
+++ calendar/backends/groupwise/e-cal-backend-groupwise-utils.h 2007-12-18 16:41:03 +0000
@@ -44,6 +44,7 @@
* Items management
*/
EGwItem *e_gw_item_new_from_cal_component (const char *container, ECalBackendGroupwise *cbgw, ECalComponent *comp);
+EGwItem *e_gw_item_new_for_delegate_from_cal (ECalBackendGroupwise *cbgw, ECalComponent *comp);
ECalComponent *e_gw_item_to_cal_component (EGwItem *item, ECalBackendGroupwise *cbgw);
void e_gw_item_set_changes (EGwItem *item, EGwItem *cached_item);
=== modified file 'camel/providers/groupwise/camel-groupwise-folder.c'
--- camel/providers/groupwise/camel-groupwise-folder.c 2007-12-18 16:36:30 +0000
+++ camel/providers/groupwise/camel-groupwise-folder.c 2007-12-18 16:41:03 +0000
@@ -2072,7 +2072,7 @@
CamelGroupwiseStore *gw_store= CAMEL_GROUPWISE_STORE(source->parent_store);
CamelOfflineStore *offline = (CamelOfflineStore *) destination->parent_store;
CamelGroupwiseStorePrivate *priv = gw_store->priv;
- EGwConnectionStatus status;
+ EGwConnectionStatus status = E_GW_CONNECTION_STATUS_OK;
EGwConnection *cnc;
CamelFolderChangeInfo *changes = NULL;
=== modified file 'camel/providers/imap/camel-imap-store.c'
--- camel/providers/imap/camel-imap-store.c 2007-12-18 16:36:30 +0000
+++ camel/providers/imap/camel-imap-store.c 2007-12-18 16:41:03 +0000
@@ -702,6 +702,9 @@
}
#ifdef HAVE_SSL
+ /* as soon as we send a STARTTLS command, all hope is lost of a clean QUIT if problems arise */
+ clean_quit = FALSE;
+
if (!(store->capabilities & IMAP_CAPABILITY_STARTTLS)) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
_("Failed to connect to IMAP server %s in secure mode: %s"),
@@ -710,9 +713,6 @@
goto exception;
}
- /* as soon as we send a STARTTLS command, all hope is lost of a clean QUIT if problems arise */
- clean_quit = FALSE;
-
response = camel_imap_command (store, NULL, ex, "STARTTLS");
if (!response) {
camel_object_unref (store->istream);
=== modified file 'camel/providers/pop3/camel-pop3-store.c'
--- camel/providers/pop3/camel-pop3-store.c 2007-12-18 16:36:30 +0000
+++ camel/providers/pop3/camel-pop3-store.c 2007-12-18 16:41:03 +0000
@@ -219,6 +219,9 @@
}
#ifdef HAVE_SSL
+ /* as soon as we send a STLS command, all hope is lost of a clean QUIT if problems arise */
+ clean_quit = FALSE;
+
if (!(store->engine->capa & CAMEL_POP3_CAP_STLS)) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
_("Failed to connect to POP server %s in secure mode: %s"),
@@ -226,9 +229,6 @@
goto stls_exception;
}
- /* as soon as we send a STLS command, all hope is lost of a clean QUIT if problems arise */
- clean_quit = FALSE;
-
pc = camel_pop3_engine_command_new (store->engine, 0, NULL, NULL, "STLS\r\n");
while (camel_pop3_engine_iterate (store->engine, NULL) > 0)
;
=== modified file 'libdb/dbm/dbm.c'
--- libdb/dbm/dbm.c 2007-12-18 16:36:30 +0000
+++ libdb/dbm/dbm.c 2007-12-18 16:41:03 +0000
@@ -128,7 +128,8 @@
if (__cur_db == NULL) {
__db_no_open();
- item.dptr = 0;
+ item.dptr = NULL;
+ item.dsize = 0;
return (item);
}
return (dbm_fetch(__cur_db, key));
@@ -141,7 +142,8 @@
if (__cur_db == NULL) {
__db_no_open();
- item.dptr = 0;
+ item.dptr = NULL;
+ item.dsize = 0;
return (item);
}
return (dbm_firstkey(__cur_db));
@@ -157,7 +159,8 @@
if (__cur_db == NULL) {
__db_no_open();
- item.dptr = 0;
+ item.dptr = NULL;
+ item.dsize = 0;
return (item);
}
return (dbm_nextkey(__cur_db));