aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-cache.c
diff options
context:
space:
mode:
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)