[balsa/wip/gmime3: 114/197] Do not check gmime version >= 3
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gmime3: 114/197] Do not check gmime version >= 3
- Date: Wed, 23 May 2018 21:21:57 +0000 (UTC)
commit cf10b80966f10bda290577c187643e50d50c38cd
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed Oct 18 17:13:58 2017 -0400
Do not check gmime version >= 3
libbalsa/imap/imap-handle.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libbalsa/imap/imap-handle.c b/libbalsa/imap/imap-handle.c
index abbc907..f1de59c 100644
--- a/libbalsa/imap/imap-handle.c
+++ b/libbalsa/imap/imap-handle.c
@@ -3328,7 +3328,6 @@ ir_envelope(struct siobuf *sio, ImapEnvelope *env)
date = imap_get_nstring(sio);
if(date) {
-#if (GMIME_MAJOR_VERSION >= 3)
if (env != NULL) {
GDateTime *datetime;
@@ -3336,9 +3335,6 @@ ir_envelope(struct siobuf *sio, ImapEnvelope *env)
env->date = g_date_time_to_unix(datetime);
g_date_time_unref(datetime);
}
-#else /* (GMIME_MAJOR_VERSION >= 3) */
- if(env) env->date = g_mime_utils_header_decode_date(date, NULL);
-#endif /* (GMIME_MAJOR_VERSION >= 3) */
g_free(date);
}
if( (c=sio_getc(sio)) != ' ') return IMR_PROTOCOL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]