aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local/camel-spool-summary.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/providers/local/camel-spool-summary.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/providers/local/camel-spool-summary.c')
-rw-r--r--camel/providers/local/camel-spool-summary.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/camel/providers/local/camel-spool-summary.c b/camel/providers/local/camel-spool-summary.c
index d71c75eaf8..d914af87e2 100644
--- a/camel/providers/local/camel-spool-summary.c
+++ b/camel/providers/local/camel-spool-summary.c
@@ -155,14 +155,14 @@ spool_summary_sync_full(CamelMboxSummary *cls, gboolean expunge, CamelFolderChan
}
#ifdef HAVE_MKSTEMP
- tmpname = alloca(64);
- sprintf(tmpname, "/tmp/spool.camel.XXXXXX");
- fdout = mkstemp(tmpname);
+ tmpname = alloca (64);
+ sprintf (tmpname, "/tmp/spool.camel.XXXXXX");
+ fdout = mkstemp (tmpname);
#else
#warning "Your system has no mkstemp(3), spool updating may be insecure"
- tmpname = alloca(L_tmpnam);
- tmpnam(tmpname);
- fdout = open(tmpname, O_RDWR|O_CREAT|O_EXCL, 0600);
+ tmpname = alloca (L_tmpnam);
+ tmpnam (tmpname);
+ fdout = open (tmpname, O_RDWR|O_CREAT|O_EXCL, 0600);
#endif
d(printf("Writing tmp file to %s\n", tmpname));
if (fdout == -1) {