From a84f11d6bd217de89e73b1880546a3af48cfd9c8 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 17 Dec 2002 21:46:44 +0000 Subject: Replace calls to g_string_sprintfa() with g_string_append_printf() since 2002-12-17 Jeffrey Stedfast * 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 --- camel/camel-data-cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/camel-data-cache.c') 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) -- cgit