From 1d75089d8bf0349ea56b449e6e9c1ac656bdb859 Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Thu, 21 Mar 2002 22:35:02 +0000 Subject: *** empty log message *** --- ext/pdf/pdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pdf') diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index 4b6a888563..fbc772fa63 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -479,7 +479,7 @@ PHP_FUNCTION(pdf_open) what = zend_fetch_resource(file TSRMLS_CC, -1, "File-Handle", &type, 1, php_file_le_stream()); ZEND_VERIFY_RESOURCE(what); - if (!php_stream_cast((php_stream*)what, PHP_STREAM_AS_STDIO, (void*)&fp, 1) == FAILURE) { + if (php_stream_cast((php_stream*)what, PHP_STREAM_AS_STDIO, (void*)&fp, 1) == FAILURE) { RETURN_FALSE; } /* XXX should do a zend_list_addref for here! */ -- cgit v1.2.1