cvs: /php4/ext/pdf pdf.c
| From: | Uwe Steinmann | Date: | Fri, 10 Sep 1999 05:23:02 +0000 |
| Subject: | cvs: /php4/ext/pdf pdf.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4298@lists.php.net to get a copy of this message | ||
steinm Fri Sep 10 01:23:02 1999 EDT
Modified files:
/php4/ext/pdf pdf.c
Log:
- wrong use of php_print corrected
Index: php4/ext/pdf/pdf.c
diff -u php4/ext/pdf/pdf.c:1.12 php4/ext/pdf/pdf.c:1.13
--- php4/ext/pdf/pdf.c:1.12 Thu Sep 9 02:41:14 1999
+++ php4/ext/pdf/pdf.c Fri Sep 10 01:23:01 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdf.c,v 1.12 1999/09/09 06:41:14 steinm Exp $ */
+/* $Id: pdf.c,v 1.13 1999/09/10 05:23:01 steinm Exp $ */
/* pdflib 2.01 is subject to the ALADDIN FREE PUBLIC LICENSE.
Copyright (C) 1997 Thomas Merz. */
@@ -2134,7 +2134,7 @@
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 @@
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;