cvs: php4 /ext/cybercash cybercash.c cybercash.h

From: Date: Tue, 18 Jul 2000 19:13:14 +0000
Subject: cvs: php4 /ext/cybercash cybercash.c cybercash.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-805@lists.php.net to get a copy of this message
andrei Tue Jul 18 12:13:14 2000 EDT Modified files: /php4/ext/cybercash cybercash.c cybercash.h Log: Fixed compilation errors. Index: php4/ext/cybercash/cybercash.c diff -u php4/ext/cybercash/cybercash.c:1.9 php4/ext/cybercash/cybercash.c:1.10 --- php4/ext/cybercash/cybercash.c:1.9 Fri Jun 30 18:43:37 2000 +++ php4/ext/cybercash/cybercash.c Tue Jul 18 12:13:14 2000 @@ -29,9 +29,10 @@ */ #include "php.h" +#include "ext/standard/info.h" +#include "cybercash.h" #if HAVE_MCK -#include "cybercash.h" #include "mckcrypt.h" #include "base64.h" @@ -137,14 +138,14 @@ errcode = mck_decr(Z_STRVAL_PP(wmk), Z_STRVAL_PP(sk), Z_STRLEN_PP(inbuff), - Z_STRLEN_PP(inbuff), + Z_STRVAL_PP(inbuff), outAlloc, outbuff, &outLth, macbuff); if (array_init(return_value) == FAILURE) { - php_error(E_WARNING, "Could not initialize Return value from cybercash_decr") + php_error(E_WARNING, "Could not initialize Return value from cybercash_decr"); RETURN_FALSE; } Index: php4/ext/cybercash/cybercash.h diff -u php4/ext/cybercash/cybercash.h:1.5 php4/ext/cybercash/cybercash.h:1.6 --- php4/ext/cybercash/cybercash.h:1.5 Sun Jul 2 16:46:39 2000 +++ php4/ext/cybercash/cybercash.h Tue Jul 18 12:13:14 2000 @@ -33,12 +33,6 @@ #if HAVE_MCK -#if PHP_API_VERSION < 19990421 -#define zend_module_entry cybercash_module_entry -#include "modules.h" -#include "internal_functions.h" -#endif - extern zend_module_entry cybercash_module_entry; #define cybercash_module_ptr &cybercash_module_entry

« previous php.cvs (#805) next »