NULL vs 0.
authorKjartan Maraas <kmaraas@gnome.org>
Mon, 1 Oct 2007 11:46:36 +0000 (11:46 +0000)
committerKjartan Maraas <kmaraas@src.gnome.org>
Mon, 1 Oct 2007 11:46:36 +0000 (11:46 +0000)
2007-09-07  Kjartan Maraas  <kmaraas@gnome.org>

* 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

camel/providers/imap/ChangeLog
camel/providers/imap/camel-imap-store.c

index ce26649..c9d930e 100644 (file)
@@ -1,3 +1,9 @@
+2007-09-07  Kjartan Maraas  <kmaraas@gnome.org>
+
+       * 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  <mbarnes@redhat.com>
 
        ** Fixes part of bug #474000
index c0ca69c..c0fb8cf 100644 (file)
@@ -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);