projects
/
php-ancillary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add close after shutdown call
[php-ancillary.git]
/
php-ancillary.c
diff --git
a/php-ancillary.c
b/php-ancillary.c
index
8c43397
..
f069bff
100644
(file)
--- a/
php-ancillary.c
+++ b/
php-ancillary.c
@@
-107,7
+107,7
@@
PHP_FUNCTION(ancillary_getstream)
}
}
shutdown(fd_out[1], SHUT_RDWR);
-
+ close(fd_out[1]);
ZVAL_STRING(zheaders, headers, 1);
free(headers);