evolution-data-server/eds-compiler-warning.patch

28 lines
1.1 KiB
Diff
Raw Normal View History

=== modified file 'addressbook/backends/ldap/e-book-backend-ldap.c'
--- addressbook/backends/ldap/e-book-backend-ldap.c 2007-12-18 16:36:30 +0000
+++ addressbook/backends/ldap/e-book-backend-ldap.c 2007-12-18 17:02:35 +0000
@@ -2463,6 +2463,8 @@
diff -= start.tv_sec * 1000 + start.tv_usec/1000;
printf ("e_book_backend_ldap_get_contact_list invoked contact_list_handler ");
+ diff = end.tv_sec * 1000 + end.tv_usec/1000;
+ diff -= start.tv_sec * 1000 + start.tv_usec/1000;
printf ("and took %ld.%03ld seconds\n", diff/1000, diff%1000);
}
}
=== modified file 'servers/exchange/storage/exchange-account.c'
--- servers/exchange/storage/exchange-account.c 2007-12-18 16:36:30 +0000
+++ servers/exchange/storage/exchange-account.c 2007-12-18 17:02:35 +0000
@@ -2011,6 +2011,9 @@
E2kGlobalCatalogEntry *entry=NULL; /* This is never set before it's used! */
int max_pwd_age_days = -1;
+ /* Bull. The comment above is totally bogus. */
+ entry = NULL;
+
g_return_val_if_fail (EXCHANGE_IS_ACCOUNT (account), 0);
max_pwd_age_days = find_passwd_exp_period (account, entry);