From 9c5b4a6c2528fb2ce859db14a683a20864aa794d Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 4 Mar 2002 19:08:17 +0000 Subject: [PATCH] - Some more speed (and more consistency) #- I had some spare time Sascha :) --- main/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/main.c b/main/main.c index 041bb39bee..aeadee4713 100644 --- a/main/main.c +++ b/main/main.c @@ -373,19 +373,19 @@ PHPAPI void php_html_puts(const char *str, uint size TSRMLS_DC) 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_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); -- 2.40.0