From d579a7d89a46d67042cd02845df08d801e47aa4c Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 12 Feb 2013 12:53:36 +0800 Subject: [PATCH] fix another escaape runon Signed-off-by: Andy Green --- lib/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/output.c b/lib/output.c index a0ddacf6..35389c23 100644 --- a/lib/output.c +++ b/lib/output.c @@ -561,7 +561,7 @@ int libwebsockets_serve_http_file(struct libwebsocket_context *context, fstat(wsi->u.http.fd, &stat_buf); wsi->u.http.filelen = stat_buf.st_size; p += sprintf((char *)p, -"HTTP/1.0 200 OK\x0d\x0aServer: libwebsockets\x0d\x0aContent-Type: %s\x0d\x0a", +"HTTP/1.0 200 OK\x0d\x0aServer: libwebsockets\x0d\x0a""Content-Type: %s\x0d\x0a", content_type); p += sprintf((char *)p, "Content-Length: %u\x0d\x0a\x0d\x0a",