cvs: php4 /ext/imap php_imap.c
| From: | Jani Taskinen | Date: | Wed, 24 Apr 2002 15:29:53 +0000 |
| Subject: | cvs: php4 /ext/imap php_imap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11393@lists.php.net to get a copy of this message | ||
sniper Wed Apr 24 11:29:53 2002 EDT
Modified files:
/php4/ext/imap php_imap.c
Log:
- Do the ssl_onceonlyinit() as last. This is how c-client creates
the linkage.c (used by Pine).
Index: php4/ext/imap/php_imap.c
diff -u php4/ext/imap/php_imap.c:1.112 php4/ext/imap/php_imap.c:1.113
--- php4/ext/imap/php_imap.c:1.112 Thu Feb 28 03:26:16 2002
+++ php4/ext/imap/php_imap.c Wed Apr 24 11:29:52 2002
@@ -25,7 +25,7 @@
| PHP 4.0 updates: Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_imap.c,v 1.112 2002/02/28 08:26:16 sebastian Exp $ */
+/* $Id: php_imap.c,v 1.113 2002/04/24 15:29:52 sniper Exp $ */
#define IMAP41
@@ -410,15 +410,10 @@
#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 */
@@ -427,6 +422,14 @@
mail_link(&tenexdriver); /* link in the tenex driver */
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);