cvs: php4 /ext/vpopmail php_vpopmail.c

From: Date: Sun, 14 Jan 2001 09:01:25 +0000
Subject: cvs: php4 /ext/vpopmail php_vpopmail.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3606@lists.php.net to get a copy of this message
david Sun Jan 14 01:01:25 2001 EDT Modified files: /php4/ext/vpopmail php_vpopmail.c Log: # restored code for latest vpopmail version @ New extension for vpopmail - http://www.inter7.com/vpopmail (David Croft) Index: php4/ext/vpopmail/php_vpopmail.c diff -u php4/ext/vpopmail/php_vpopmail.c:1.1 php4/ext/vpopmail/php_vpopmail.c:1.2 --- php4/ext/vpopmail/php_vpopmail.c:1.1 Sun Jan 14 00:54:00 2001 +++ php4/ext/vpopmail/php_vpopmail.c Sun Jan 14 01:01:25 2001 @@ -16,8 +16,10 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_vpopmail.c,v 1.1 2001/01/14 08:54:00 david Exp $ */ +/* $Id: php_vpopmail.c,v 1.2 2001/01/14 09:01:25 david Exp $ */ +#undef VPOPMAIL_IS_REALLY_OLD + #include "php.h" #include "php_ini.h" #include "php_vpopmail.h" @@ -110,9 +112,14 @@ convert_to_long_ex(gid); retval = vadddomain(Z_STRVAL_PP(domain), - /* Z_STRVAL_PP(dir), - Z_LVAL_PP(uid), */ - Z_LVAL_PP(gid)); +#ifdef VPOPMAIL_IS_REALLY_OLD + Z_STRVAL_PP(dir), + Z_LVAL_PP(uid), + Z_LVAL_PP(gid) +#else + 0 +#endif + ); if (retval == VA_SUCCESS) { RETURN_TRUE;

« previous php.cvs (#3606) next »