From 48873b11cc7f101bd5f3eb74fedacce40e73dd91 Mon Sep 17 00:00:00 2001 From: m0gg Date: Sat, 25 Nov 2006 16:35:57 +0000 Subject: Documentation enhancements --- nanohttp/nanohttp-admin.c | 6 ++-- nanohttp/nanohttp-common.h | 81 +++++++++++++++++++++++++++++++++++++++++++++- nanohttp/nanohttp-server.c | 6 ++-- 3 files changed, 86 insertions(+), 7 deletions(-) (limited to 'nanohttp') diff --git a/nanohttp/nanohttp-admin.c b/nanohttp/nanohttp-admin.c index fa2fdaf..d5d5939 100644 --- a/nanohttp/nanohttp-admin.c +++ b/nanohttp/nanohttp-admin.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-admin.c,v 1.5 2006/11/25 15:06:58 m0gg Exp $ +* $Id: nanohttp-admin.c,v 1.6 2006/11/25 16:35:57 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -48,7 +48,7 @@ static void _httpd_admin_send_title(httpd_conn_t *conn, const char *title) { - httpd_send_header(conn, 200, "OK"); + httpd_send_header(conn, 200, HTTP_STATUS_200_REASON_PHRASE); http_output_stream_write_string(conn->out, "