summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-04-24 15:30:16 +0000
committerfoobar <sniper@php.net>2002-04-24 15:30:16 +0000
commitf02b9373c034eae41f6c272e38f6b69419a2ac25 (patch)
tree7d93e6496d6154ddebe3de69f4423880a4fc4097 /ext/imap/php_imap.c
parentc2ed94ed046fe87e07969167e036dc1b96b6954e (diff)
downloadphp-git-f02b9373c034eae41f6c272e38f6b69419a2ac25.tar.gz
MFH
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r--ext/imap/php_imap.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index 92de112e19..5f3ce88bde 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -410,15 +410,10 @@ PHP_MINIT_FUNCTION(imap)
#ifndef PHP_WIN32
mail_link(&unixdriver); /* link in the unix driver */
mail_link(&mhdriver); /* link in the mh driver */
- /* mail_link(&mxdriver); */ /* According to c-client docs (internal.txt) this shouldn't be used. */
+ /* mail_link(&mxdriver); */ /* According to c-client docs (internal.txt) this shouldn't be used. */
mail_link(&mmdfdriver); /* link in the mmdf driver */
mail_link(&newsdriver); /* link in the news driver */
mail_link(&philedriver); /* link in the phile driver */
- auth_link(&auth_log); /* link in the log authenticator */
- auth_link(&auth_md5); /* link in the cram-md5 authenticator */
-#ifdef HAVE_IMAP_SSL
- ssl_onceonlyinit ();
-#endif
#endif
mail_link(&imapdriver); /* link in the imap driver */
mail_link(&nntpdriver); /* link in the nntp driver */
@@ -428,6 +423,14 @@ PHP_MINIT_FUNCTION(imap)
mail_link(&mtxdriver); /* link in the mtx driver */
mail_link(&dummydriver); /* link in the dummy driver */
+#ifndef PHP_WIN32
+ auth_link(&auth_log); /* link in the log authenticator */
+ auth_link(&auth_md5); /* link in the cram-md5 authenticator */
+#ifdef HAVE_IMAP_SSL
+ ssl_onceonlyinit ();
+#endif
+#endif
+
/* lets allow NIL */
REGISTER_LONG_CONSTANT("NIL", NIL, CONST_PERSISTENT | CONST_CS);