cvs: /php4/ext/ftp php_ftp.c php_ftp.h

From: Date: Thu, 23 Sep 1999 17:54:27 +0000
Subject: cvs: /php4/ext/ftp php_ftp.c php_ftp.h
Groups: php.version4 
Request: Send a blank email to php-version4+get-4833@lists.php.net to get a copy of this message
askalski Thu Sep 23 13:54:27 1999 EDT Modified files: /php4/ext/ftp php_ftp.c php_ftp.h Log: fixed php3 code problem Index: php4/ext/ftp/php_ftp.c diff -u php4/ext/ftp/php_ftp.c:1.4 php4/ext/ftp/php_ftp.c:1.5 --- php4/ext/ftp/php_ftp.c:1.4 Wed Sep 22 12:07:41 1999 +++ php4/ext/ftp/php_ftp.c Thu Sep 23 13:54:26 1999 @@ -28,7 +28,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_ftp.c,v 1.4 1999/09/22 16:07:41 askalski Exp $ */ +/* $Id: php_ftp.c,v 1.5 1999/09/23 17:54:26 askalski Exp $ */ #include "php.h" @@ -69,7 +69,7 @@ #ifdef ZEND_VERSION PHP_MINIT(ftp), #else - PHP_MINIT_FUNCTION, + php3_minit_ftp, #endif NULL, NULL, @@ -83,10 +83,10 @@ ftp_close(ftp); } -#ifdef ZEND_VERSION -PHP_MINIT_FUNCTION(ftp) +#ifndef ZEND_VERSION +int php3_minit_ftp(INIT_FUNC_ARGS) #else -int PHP_MINIT_FUNCTION(INIT_FUNC_ARGS) +PHP_MINIT_FUNCTION(ftp) #endif { le_ftpbuf = register_list_destructors(ftp_destructor_ftpbuf, NULL); Index: php4/ext/ftp/php_ftp.h diff -u php4/ext/ftp/php_ftp.h:1.3 php4/ext/ftp/php_ftp.h:1.4 --- php4/ext/ftp/php_ftp.h:1.3 Wed Sep 22 12:07:41 1999 +++ php4/ext/ftp/php_ftp.h Thu Sep 23 13:54:26 1999 @@ -28,7 +28,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_ftp.h,v 1.3 1999/09/22 16:07:41 askalski Exp $ */ +/* $Id: php_ftp.h,v 1.4 1999/09/23 17:54:26 askalski Exp $ */ #ifndef _INCLUDED_FTP_H #define _INCLUDED_FTP_H @@ -46,7 +46,7 @@ #ifdef ZEND_VERSION PHP_MINIT_FUNCTION(ftp); #else -int PHP_MINIT_FUNCTION(INIT_FUNC_ARGS); +int php3_minit_ftp(INIT_FUNC_ARGS); #endif PHP_FUNCTION(ftp_connect);

« previous php.version4 (#4833) next »