From: Kjartan Maraas Date: Mon, 1 Oct 2007 11:46:36 +0000 (+0000) Subject: NULL vs 0. X-Git-Tag: upstream/3.7.4~5470 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2af3cf1bd1ad3ac073911aa547726d8b04fb2cea;p=platform%2Fupstream%2Fevolution-data-server.git NULL vs 0. 2007-09-07 Kjartan Maraas * camel-imap-store.c: (imap_connect_online), (get_folder_status), (get_folder_online), (create_folder), (get_folders_sync), (get_folder_info_online): NULL vs 0. svn path=/trunk/; revision=8096 --- diff --git a/camel/providers/imap/ChangeLog b/camel/providers/imap/ChangeLog index ce26649..c9d930e 100644 --- a/camel/providers/imap/ChangeLog +++ b/camel/providers/imap/ChangeLog @@ -1,3 +1,9 @@ +2007-09-07 Kjartan Maraas + + * camel-imap-store.c: (imap_connect_online), (get_folder_status), + (get_folder_online), (create_folder), (get_folders_sync), + (get_folder_info_online): NULL vs 0. + 2007-09-27 Matthew Barnes ** Fixes part of bug #474000 diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index c0ca69c..c0fb8cf 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -1554,7 +1554,7 @@ imap_connect_online (CamelService *service, CamelException *ex) goto done; get_folders_sync(store, "INBOX", ex); } - store->refresh_stamp = time(0); + store->refresh_stamp = time(NULL); } @@ -2694,7 +2694,7 @@ get_folder_info_online (CamelStore *store, const char *top, guint32 flags, Camel time_t now; int ref; - now = time(0); + now = time(NULL); ref = now > imap_store->refresh_stamp+60*60*1; if (ref) { CAMEL_SERVICE_REC_LOCK(store, connect_lock);