CVS update: php3/functions
| From: | steinm | Date: | Mon, 07 Jun 1999 16:43:09 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6660@lists.php.net to get a copy of this message | ||
Date: Monday June 7, 1999 @ 12:43
Author: steinm
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv25078/functions
Modified Files:
pdf.c
Log Message:
- some tiny fixes, pdf_open() has only one parameter if pdflib 2.0 is used
Index: php3/functions/pdf.c
diff -u php3/functions/pdf.c:1.30 php3/functions/pdf.c:1.31
--- php3/functions/pdf.c:1.30 Mon Jun 7 11:00:09 1999
+++ php3/functions/pdf.c Mon Jun 7 12:43:07 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdf.c,v 1.30 1999/06/07 15:00:09 steinm Exp $ */
+/* $Id: pdf.c,v 1.31 1999/06/07 16:43:07 steinm Exp $ */
/* pdflib 0.6 is subject to the ALADDIN FREE PUBLIC LICENSE.
Copyright (C) 1997 Thomas Merz. */
@@ -463,7 +463,11 @@
PDF_TLS_VARS;
+#if HAVE_PDFLIB2
+ if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &file) == FAILURE) {
+#else
if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &file, &info) == FAILURE) {
+#endif
WRONG_PARAM_COUNT;
}