Update of /cvsroot/simplemail/simplemail
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16686
Modified Files:
imap.c
Log Message:
Use sm_snprintf() instead of sprintf().
Index: imap.c
===================================================================
RCS file: /cvsroot/simplemail/simplemail/imap.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- imap.c 22 Feb 2014 09:40:57 -0000 1.94
+++ imap.c 22 Feb 2014 19:53:11 -0000 1.95
@@ -1224,7 +1224,7 @@
struct connect_options conn_opts = {0};
char head_buf[100];
- sprintf(head_buf,_("Reading folders of %s"),server->name);
+ sm_snprintf(head_buf, sizeof(head_buf), ("Reading folders of %s"),server->name);
thread_call_parent_function_async_string(status_set_head, 1, head_buf);
if (server->title)
thread_call_parent_function_async_string(status_set_title_utf8, 1, server->title);
|