evolution-exchange r1642 - in trunk: . addressbook



Author: tml
Date: Thu May  8 01:32:38 2008
New Revision: 1642
URL: http://svn.gnome.org/viewvc/evolution-exchange?rev=1642&view=rev

Log:
2008-05-08  Tor Lillqvist  <tml novell com>

	* addressbook/e-book-backend-exchange.c (update_cache): Remove
	pointless code that constructed a timestamp for the cache file
	name but didn't use it for anything.



Modified:
   trunk/ChangeLog
   trunk/addressbook/e-book-backend-exchange.c

Modified: trunk/addressbook/e-book-backend-exchange.c
==============================================================================
--- trunk/addressbook/e-book-backend-exchange.c	(original)
+++ trunk/addressbook/e-book-backend-exchange.c	Thu May  8 01:32:38 2008
@@ -505,19 +505,6 @@
 	E2kResultIter *iter;
 	E2kResult *result;
 	EContact *contact;
-	const char *cache_file_name;
-	time_t mod_time;
-	char time_string[50]; /* Donno what could be right. 50 should be safe for sure.*/
-	const struct tm *tm;
-	struct stat buf;
-
-	cache_file_name =
-		e_file_cache_get_filename (E_FILE_CACHE(bepriv->cache));
-
-	stat (cache_file_name, &buf);
-	mod_time = buf.st_mtime;
-	tm = gmtime (&mod_time);
-	strftime (time_string, 50, "%Y-%m-%dT%H:%M:%SZ", tm);
 
 	/* build hash table from storage file */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]