cvs: /php4/ext/standard string.c
| From: | Andrei Zmievski | Date: | Thu, 30 Sep 1999 20:03:34 +0000 |
| Subject: | cvs: /php4/ext/standard string.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5039@lists.php.net to get a copy of this message | ||
andrei Thu Sep 30 16:03:34 1999 EDT
Modified files:
/php4/ext/standard string.c
Log:
Fix nl2br crash.
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.46 php4/ext/standard/string.c:1.47
--- php4/ext/standard/string.c:1.46 Tue Sep 28 13:37:04 1999
+++ php4/ext/standard/string.c Thu Sep 30 16:03:32 1999
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.46 1999/09/28 17:37:04 andi Exp $ */
+/* $Id: string.c,v 1.47 1999/09/30 20:03:32 andrei Exp $ */
/* Synced with php3 revision 1.193 1999-06-16 [ssb] */
@@ -1755,7 +1755,7 @@
{
pval **str;
- if (ARG_COUNT(ht)!=1 || getParametersEx(ht, 1, &str)==FAILURE) {
+ if (ARG_COUNT(ht)!=1 || getParametersEx(1, &str)==FAILURE) {
WRONG_PARAM_COUNT;
}