X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=php-ancillary.git;a=blobdiff_plain;f=php-ancillary.c;h=b00eb2086ebc729f387c561e5740747b6f54a6ca;hp=8c43397e2b3be6787483254fdd7eddd50f0d662a;hb=8350cbc890f6d7a9da6f57ed2b072dfbd4d2d54f;hpb=b1484ac80a6d8849e719dba56252e1284e783be3 diff --git a/php-ancillary.c b/php-ancillary.c index 8c43397..b00eb20 100644 --- 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) {