Skip to content

Commit 8c9a66e

Browse files
committed
- add 2007d and e
1 parent 7b73190 commit 8c9a66e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

ext/imap/php_imap.c

+13-1
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,15 @@ PHP_RSHUTDOWN_FUNCTION(imap)
10771077
/* }}} */
10781078

10791079
#if !defined(CCLIENTVERSION)
1080-
#if HAVE_IMAP2004
1080+
#if HAVE_IMAP2007e
1081+
#define CCLIENTVERSION "2007e"
1082+
#if HAVE_IMAP2007e
1083+
#define CCLIENTVERSION "2007d"
1084+
#if HAVE_IMAP2007d
1085+
#define CCLIENTVERSION "2007b"
1086+
#elif HAVE_IMAP2007a
1087+
#define CCLIENTVERSION "2007a"
1088+
#elif HAVE_IMAP2004
10811089
#define CCLIENTVERSION "2004"
10821090
#elif HAVE_IMAP2001
10831091
#define CCLIENTVERSION "2001"
@@ -1096,6 +1104,10 @@ PHP_MINFO_FUNCTION(imap)
10961104
{
10971105
php_info_print_table_start();
10981106
php_info_print_table_row(2, "IMAP c-Client Version", CCLIENTVERSION);
1107+
#if HAVE_IMAP2007e
1108+
php_info_print_table_row(2, "IMAP c-Client Version", "2007e");
1109+
#if HAVE_IMAP2007d
1110+
php_info_print_table_row(2, "IMAP c-Client Version", "2007d");
10991111
#if HAVE_IMAP2007b
11001112
php_info_print_table_row(2, "IMAP c-Client Version", "2007b");
11011113
#elif HAVE_IMAP2007a

0 commit comments

Comments
 (0)