summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-admin.c
diff options
context:
space:
mode:
authorGravatar m0gg2006-11-25 16:35:57 +0000
committerGravatar m0gg2006-11-25 16:35:57 +0000
commit48873b11cc7f101bd5f3eb74fedacce40e73dd91 (patch)
tree7e7380515a35ec975ef7b57d6c38c0e7ec1d4c7b /nanohttp/nanohttp-admin.c
parent5518d08a6c6446e1323bb6f762ef9132a9856c1d (diff)
downloadcsoap-48873b11cc7f101bd5f3eb74fedacce40e73dd91.tar.gz
csoap-48873b11cc7f101bd5f3eb74fedacce40e73dd91.tar.bz2
Documentation enhancements
Diffstat (limited to 'nanohttp/nanohttp-admin.c')
-rw-r--r--nanohttp/nanohttp-admin.c6
1 files changed, 3 insertions, 3 deletions
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,
"<html><head><style>");
http_output_stream_write_string(conn->out,
@@ -165,7 +165,7 @@ _httpd_admin_entry(httpd_conn_t * conn, struct hrequest_t *req)
}
else
{
- httpd_send_header(conn, 200, "OK");
+ httpd_send_header(conn, 200, HTTP_STATUS_200_REASON_PHRASE);
http_output_stream_write_string(conn->out,
"<html>"
"<head>"