[balsa] Silence a gcc gripe about snprintf
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] Silence a gcc gripe about snprintf
- Date: Mon, 19 Mar 2018 20:06:50 +0000 (UTC)
commit 056a5e30cb9b129ac1ef69f2aa5b9a23d942e54a
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon Mar 19 16:06:15 2018 -0400
Silence a gcc gripe about snprintf
* libbalsa/imap/imap-commands.c (imap_mbox_handle_fetch_body):
silence a gcc gripe about snprintf.
ChangeLog | 5 +++++
libbalsa/imap/imap-commands.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d5b7e70..6ab5133 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2018-03-19 Peter Bloomfield <pbloomfield bellsouth net>
* libbalsa/imap/imap-commands.c (imap_mbox_handle_fetch_body):
+ silence a gcc gripe about snprintf.
+
+2018-03-19 Peter Bloomfield <pbloomfield bellsouth net>
+
+ * libbalsa/imap/imap-commands.c (imap_mbox_handle_fetch_body):
silence a gcc gripe about strncpy.
2018-02-27 Pawel Salek <pawsa0 gmail com>
diff --git a/libbalsa/imap/imap-commands.c b/libbalsa/imap/imap-commands.c
index 5ad5f63..b5efb46 100644
--- a/libbalsa/imap/imap-commands.c
+++ b/libbalsa/imap/imap-commands.c
@@ -1395,7 +1395,7 @@ imap_mbox_handle_fetch_body(ImapMboxHandle* handle,
ImapFetchBodyOptions options,
ImapFetchBodyCb body_cb, void *arg)
{
- char cmd[160];
+ char cmd[200];
ImapFetchBodyInternalCb fcb;
void *farg;
ImapResponse rc;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]