summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/httpd.c b/httpd.c
index e05a0c2..f85188c 100644
--- a/httpd.c
+++ b/httpd.c
@@ -121,8 +121,8 @@ int server_get_handler(d_char *req, char *q_path,
121 if (strcmp(q_path, "/robots.txt") == 0) { 121 if (strcmp(q_path, "/robots.txt") == 0) {
122 status = 200; 122 status = 200;
123 *ctype = "text/plain"; 123 *ctype = "text/plain";
124 *body = "User-agent: *\n" 124 *body = xs_str_new("User-agent: *\n"
125 "Disallow: /\n"; 125 "Disallow: /\n");
126 } 126 }
127 127
128 if (status != 0) 128 if (status != 0)