1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 13:43:02 +02:00

erm.. somehow this part got here twice

This commit is contained in:
Antony Dovgal
2006-12-12 22:38:30 +00:00
parent 57c7becedc
commit 6f0472aa4c

View File

@@ -1205,11 +1205,6 @@ PHPAPI PHP_FUNCTION(fgetss)
php_stream_from_zval(stream, &zstream);
if (length > 0) {
/* For BC reasons, fgetss() should only return length-1 bytes. */
length--;
}
if (stream->readbuf_type == IS_UNICODE) {
UChar *buf = php_stream_get_line_ex(stream, IS_UNICODE, NULL_ZSTR, 0, length, &retlen);
UChar *allowed = NULL;