diff options
author | Stig Bakken <ssb@php.net> | 1999-06-15 21:56:11 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 1999-06-15 21:56:11 +0000 |
commit | 8eec7a022f371952a212e250e12903396671d3fa (patch) | |
tree | 74e56784c878d7debb349b6fd9e13def8fb99a37 | |
parent | 8c4411b5da9bf6385e35ad8c0a835f6ffe656203 (diff) | |
download | php-git-8eec7a022f371952a212e250e12903396671d3fa.tar.gz |
reversing another patch that slipped
-rw-r--r-- | ext/standard/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index 92abdaeba2..eef2696b92 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -720,7 +720,7 @@ PHP_FUNCTION(feof) /* we're at the eof if the file doesn't exist */ RETURN_TRUE; } - if ((issock?(SOCK_FEOF(socketd)):feof(fp))) { + if ((issock?(_php3_sock_eof(socketd)):feof(fp))) { RETURN_TRUE; } else { RETURN_FALSE; @@ -896,7 +896,7 @@ PHP_FUNCTION(fgetc) { RETURN_FALSE; } buf = emalloc(sizeof(char) * 2); - if (!(issock?(*buf=SOCK_FGETC(socketd)):(*buf=fgetc(fp)))) { + if (!(issock?(SOCK_FGETC(buf,socketd)):(*buf=fgetc(fp)))) { efree(buf); RETVAL_FALSE; } else { |