aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-cache.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-12-18 05:46:44 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-12-18 05:46:44 +0800
commita84f11d6bd217de89e73b1880546a3af48cfd9c8 (patch)
tree12820d1698832a64f7f7859224ee0b89f18b9e35 /camel/camel-data-cache.c
parent5c90cbb6e1a5a1f4cf59c7554e273aec4f52fa22 (diff)
downloadgsoc2013-evolution-a84f11d6bd217de89e73b1880546a3af48cfd9c8.tar.gz
gsoc2013-evolution-a84f11d6bd217de89e73b1880546a3af48cfd9c8.tar.zst
gsoc2013-evolution-a84f11d6bd217de89e73b1880546a3af48cfd9c8.zip
Replace calls to g_string_sprintfa() with g_string_append_printf() since
2002-12-17 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c: Replace calls to g_string_sprintfa() with g_string_append_printf() since the former seems to have been deprecated. * providers/imap/camel-imap-search.c: Same. * providers/imap/camel-imap-folder.c: Here too. * providers/local/camel-mbox-summary.c: And here. * providers/local/camel-local-summary.c: Replace g_string_sprintf() with g_string_printf(). * camel-data-cache.c (data_cache_expire): Replace g_string_sprintf() with g_string_printf(). * camel-url.c: Replace calls to g_string_sprintfa() with g_string_append_printf() since the former seems to have been deprecated. * camel-service.c: Same. * camel-mime-utils.c: Here too. svn path=/trunk/; revision=19154
Diffstat (limited to 'camel/camel-data-cache.c')
-rw-r--r--camel/camel-data-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-data-cache.c b/camel/camel-data-cache.c
index c0d399bbff..7d5d225f1e 100644
--- a/camel/camel-data-cache.c
+++ b/camel/camel-data-cache.c
@@ -208,8 +208,8 @@ data_cache_expire(CamelDataCache *cdc, const char *path, const char *keep, time_
while ( (d = readdir(dir)) ) {
if (strcmp(d->d_name, keep) == 0)
continue;
-
- g_string_sprintf(s, "%s/%s", path, d->d_name);
+
+ g_string_printf (s, "%s/%s", path, d->d_name);
dd(printf("Checking '%s' for expiry\n", s->str));
if (stat(s->str, &st) == 0
&& S_ISREG(st.st_mode)