summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/mailutils/files/mailutils-0.6-imap4d-format-string.patch')
-rw-r--r--net-mail/mailutils/files/mailutils-0.6-imap4d-format-string.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mail/mailutils/files/mailutils-0.6-imap4d-format-string.patch b/net-mail/mailutils/files/mailutils-0.6-imap4d-format-string.patch
new file mode 100644
index 000000000000..070d4b43b4e7
--- /dev/null
+++ b/net-mail/mailutils/files/mailutils-0.6-imap4d-format-string.patch
@@ -0,0 +1,12 @@
+diff -pur mailutils-0.6-orig/imap4d/search.c mailutils-0.6/imap4d/search.c
+--- mailutils-0.6-orig/imap4d/search.c 2005-09-09 11:00:44.000000000 +0300
++++ mailutils-0.6/imap4d/search.c 2005-09-09 11:02:05.000000000 +0300
+@@ -195,7 +195,7 @@ imap4d_search (struct imap4d_command *co
+ char buffer[64];
+
+ rc = imap4d_search0 (arg, 0, buffer, sizeof buffer);
+- return util_finish (command, rc, buffer);
++ return util_finish (command, rc, "%s", buffer);
+ }
+
+ int