projects
/
php-ancillary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add new files
[php-ancillary.git]
/
php-ancillary.c
diff --git
a/php-ancillary.c
b/php-ancillary.c
index
8c43397
..
b00eb20
100644
(file)
--- a/
php-ancillary.c
+++ b/
php-ancillary.c
@@
-107,11
+107,11
@@
PHP_FUNCTION(ancillary_getstream)
}
}
shutdown(fd_out[1], SHUT_RDWR);
-
+ close(fd_out[1]);
ZVAL_STRING(zheaders, headers, 1);
free(headers);
- {
+
if (0 == 1)
{
int fh;
if ((fh = open("/tmp/out_php-anc.txt", O_WRONLY | O_CREAT | O_APPEND)) > -1) {