added a few PLS_FETCH()

This commit is contained in:
Thies C. Arntzen 1999-08-15 18:52:10 +00:00
parent 4e33a1d677
commit 94ce166244
2 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,7 @@ PHP_FUNCTION(chgrp)
gid_t gid;
struct group *gr=NULL;
int ret;
PLS_FETCH();
if (ARG_COUNT(ht)!=2 || getParameters(ht,2,&filename,&group)==FAILURE) {
WRONG_PARAM_COUNT;
@ -151,6 +152,7 @@ PHP_FUNCTION(chown)
int ret;
uid_t uid;
struct passwd *pw = NULL;
PLS_FETCH();
if (ARG_COUNT(ht)!=2 || getParameters(ht,2,&filename,&user)==FAILURE) {
WRONG_PARAM_COUNT;

View File

@ -105,6 +105,7 @@ PHP_FUNCTION(symlink)
#if HAVE_SYMLINK
pval *topath, *frompath;
int ret;
PLS_FETCH();
if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &topath, &frompath) == FAILURE) {
WRONG_PARAM_COUNT;
@ -133,6 +134,7 @@ PHP_FUNCTION(link)
#if HAVE_LINK
pval *topath, *frompath;
int ret;
PLS_FETCH();
if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &topath, &frompath) == FAILURE) {
WRONG_PARAM_COUNT;