Fix format string bug, see http://www.guninski.com/sylph.html for more.

Submitted by:	trevor
Found by:	Georgi Guninski <guninski@guninski.com>
This commit is contained in:
Alexander Leidinger 2003-10-23 14:35:39 +00:00
parent 9f16e781c9
commit aaf2f236f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91964
4 changed files with 26 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= sylpheed-claws
PORTVERSION= 0.9.6
PORTREVISION= 1
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws

View file

@ -0,0 +1,12 @@
diff -u -r1.18 -r1.19
--- src/send_message.c 2003/09/27 21:01:26 1.18
+++ src/send_message.c 2003/10/03 17:39:39 1.19
@@ -608,7 +608,7 @@
if (log_msg)
log_warning("%s\n", log_msg);
if (err_msg) {
- alertpanel_error_log(err_msg);
+ alertpanel_error_log("%s", err_msg);
g_free(err_msg);
}
}

View file

@ -7,6 +7,7 @@
PORTNAME= sylpheed-claws
PORTVERSION= 0.9.6
PORTREVISION= 1
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws

View file

@ -0,0 +1,12 @@
diff -u -r1.18 -r1.19
--- src/send_message.c 2003/09/27 21:01:26 1.18
+++ src/send_message.c 2003/10/03 17:39:39 1.19
@@ -608,7 +608,7 @@
if (log_msg)
log_warning("%s\n", log_msg);
if (err_msg) {
- alertpanel_error_log(err_msg);
+ alertpanel_error_log("%s", err_msg);
g_free(err_msg);
}
}