cvs: php4 /ext/mcrypt mcrypt.c
| From: | Sascha Schumann | Date: | Mon, 14 Aug 2000 19:38:24 +0000 |
| Subject: | cvs: php4 /ext/mcrypt mcrypt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1180@lists.php.net to get a copy of this message | ||
sas Mon Aug 14 12:38:24 2000 EDT
Modified files:
/php4/ext/mcrypt mcrypt.c
Log:
Move MCLS_FETCH() inside #if HAVE_LIBMCRYPT24. Fixes build against
libmcrypt 2.2.
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.39 php4/ext/mcrypt/mcrypt.c:1.40
--- php4/ext/mcrypt/mcrypt.c:1.39 Mon Aug 14 12:29:53 2000
+++ php4/ext/mcrypt/mcrypt.c Mon Aug 14 12:38:23 2000
@@ -340,11 +340,11 @@
PHP_MINFO_FUNCTION(mcrypt)
{
- MCLS_FETCH();
#if HAVE_LIBMCRYPT24
char **modules;
int i, count;
char *tmp, *tmp2;
+ MCLS_FETCH();
tmp = emalloc (2048);
memset (tmp, 0, sizeof(tmp));