summaryrefslogtreecommitdiff
path: root/sapi/thttpd
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-09-19 22:16:01 +0200
committerNikita Popov <nikic@php.net>2014-09-19 23:39:07 +0200
commit37aaccad7d8b9428c69f8c03806e1635575f216b (patch)
tree4c7ed96fb8f9082224df6c3420a3f1b589d4cc57 /sapi/thttpd
parent070667de8db929454aee13c5185b165554c00c55 (diff)
downloadphp-git-37aaccad7d8b9428c69f8c03806e1635575f216b.tar.gz
Use inline functions for most of smart_str
smart_str_free_ex no longer exists, always use smart_str_free instead. smart_str_alloc no longer requires a newlen variable to be in scope, instead it returns the new length.
Diffstat (limited to 'sapi/thttpd')
-rw-r--r--sapi/thttpd/thttpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/thttpd/thttpd.c b/sapi/thttpd/thttpd.c
index 15d6d26009..529ac2f48b 100644
--- a/sapi/thttpd/thttpd.c
+++ b/sapi/thttpd/thttpd.c
@@ -468,7 +468,7 @@ static void thttpd_request_ctor(TSRMLS_D)
static void thttpd_request_dtor(TSRMLS_D)
{
- smart_str_free_ex(&TG(sbuf), 1);
+ smart_str_free(&TG(sbuf));
if (SG(request_info).query_string)
free(SG(request_info).query_string);
free(SG(request_info).request_uri);