txtinfo: fixup the Content-Type http header
authorFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 27 Nov 2015 12:28:54 +0000 (13:28 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 27 Nov 2015 12:29:23 +0000 (13:29 +0100)
Make it spec compliant

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/txtinfo/src/olsrd_txtinfo.c

index bd13f82..94824f7 100644 (file)
@@ -799,7 +799,7 @@ static void send_info(unsigned int send_what, int the_socket) {
   /* Print minimal http header */
   if (http_headers) {
     abuf_puts(&abuf, "HTTP/1.1 200 OK\r\n");
-    abuf_puts(&abuf, "Content-type: text/plain\r\n\r\n");
+    abuf_puts(&abuf, "Content-Type: text/plain\r\n\r\n");
   }
 
   /* Print tables to IPC socket */