From 055472d3b48aedf0cf25a03b5f379d3a487c91e2 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 10 Sep 1999 05:23:02 +0000 Subject: - wrong use of php_print corrected --- ext/pdf/pdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/pdf') diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index 02d5a25b4e..b32a25d9d7 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -2134,7 +2134,7 @@ PHP_FUNCTION(pdf_put_image) { PDF_TLS_VARS; #if PDFLIB_MINORVERSION > 0 - php_printf(E_WARNING, "Version 2.01 of pdflib does not need the pdf_put_image() anymore, check the docs!"); + php_error(E_WARNING, "Version 2.01 of pdflib does not need the pdf_put_image() anymore, check the docs!"); #else if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &arg1, &arg2) == FAILURE) { WRONG_PARAM_COUNT; @@ -2173,7 +2173,7 @@ PHP_FUNCTION(pdf_execute_image) { PDF_TLS_VARS; #if PDFLIB_MINORVERSION >= 01 - php_printf(E_WARNING, "Version 2.01 of pdflib does not need the pdf_execute_image() anymore, check the docs!"); + php_error(E_WARNING, "Version 2.01 of pdflib does not need the pdf_execute_image() anymore, check the docs!"); #else if (ARG_COUNT(ht) != 5 || getParameters(ht, 5, &arg1, &arg2, &arg3, &arg4, &arg5) == FAILURE) { WRONG_PARAM_COUNT; -- cgit v1.2.1