27 Content-Disposition: inline; filename=" 58 b56b8cbe99222ce5e1ab0d144a95cb697b93761d..8403ff2798a60a7d9df73a1129a5bc125c378a36.patch 447 Last-Modified: Wed, 09 Sep 2026 17:03:19 GMT Expires: Sat, 06 Sep 2036 17:03:19 GMT From 8403ff2798a60a7d9df73a1129a5bc125c378a36 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 5 Nov 2014 13:19:41 -0800 Subject: Improved free_inlines. --- src/inlines.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/inlines.c b/src/inlines.c index a43012f..0f1a3d3 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -124,17 +124,16 @@ inline static node_inl* make_simple(int t) // Utility function used by free_inlines void splice_into_list(node_inl* e, node_inl* children) { node_inl * tmp; - tmp = children; - if (!tmp) { - return ; - } - // Find last child - while (tmp->next) { - tmp = tmp->next; + if (children) { + tmp = children; + // Find last child + while (tmp->next) { + tmp = tmp->next; + } + // Splice children into list + tmp->next = e->next; + e->next = children; } - // Splice children into list - tmp->next = e->next; - e->next = children; return ; } -- cgit v1.2.3 0 HTTP/1.0 500 Internal Server Error Date: Wed, 09 Sep 2026 17:03:19 GMT Server: OpenBSD httpd Connection: close Content-Type: text/html Content-Length: 518 500 Internal Server Error

500 Internal Server Error


OpenBSD httpd