cvs: php4 /main main.c
| From: | Derick Rethans | Date: | Mon, 04 Mar 2002 19:08:18 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9652@lists.php.net to get a copy of this message | ||
derick Mon Mar 4 14:08:18 2002 EDT
Modified files:
/php4/main main.c
Log:
- Some more speed (and more consistency)
#- I had some spare time Sascha :)
Index: php4/main/main.c
diff -u php4/main/main.c:1.428 php4/main/main.c:1.429
--- php4/main/main.c:1.428 Mon Mar 4 13:46:54 2002
+++ php4/main/main.c Mon Mar 4 14:08:17 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.428 2002/03/04 18:46:54 sas Exp $ */
+/* $Id: main.c,v 1.429 2002/03/04 19:08:17 derick Exp $ */
/* {{{ includes
*/
@@ -373,19 +373,19 @@
smart_str_appendl(&s, "<br />", sizeof("<br />")-1);
break;
case '<':
- smart_str_appends(&s, "<");
+ smart_str_appendl(&s, "<", sizeof("<")-1);
break;
case '>':
- smart_str_appends(&s, ">");
+ smart_str_appendl(&s, ">", sizeof(">")-1);
break;
case '&':
- smart_str_appends(&s, "&");
+ smart_str_appendl(&s, "&", sizeof("&")-1);
break;
case ' ':
smart_str_appendl(&s, " ", sizeof(" ")-1);
break;
case '\t':
- smart_str_appends(&s, " ");
+ smart_str_appendl(&s, " ",
sizeof(" ")-1);
break;
default:
smart_str_appendc(&s, *str);