summaryrefslogtreecommitdiff
path: root/src/c/urweb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/urweb.c')
-rw-r--r--src/c/urweb.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index be12c5ea..cc21c558 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -315,17 +315,7 @@ int uw_send(uw_context ctx, int sock) {
if (n < 0)
return n;
- n = uw_really_send(sock, "<html>", 6);
-
- if (n < 0)
- return n;
-
- n = uw_really_send(sock, ctx->page, ctx->page_front - ctx->page);
-
- if (n < 0)
- return n;
-
- return uw_really_send(sock, "</html>", 7);
+ return uw_really_send(sock, ctx->page, ctx->page_front - ctx->page);
}
static void uw_check_headers(uw_context ctx, size_t extra) {