aboutsummaryrefslogtreecommitdiff
path: root/examples/fastcgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fastcgi.c')
-rw-r--r--examples/fastcgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fastcgi.c b/examples/fastcgi.c
index 2d68a3b..5d3c4b1 100644
--- a/examples/fastcgi.c
+++ b/examples/fastcgi.c
@@ -3,7 +3,7 @@
void response(magi_request *r)
{
- magi_response_add(r,
+ magi_response(r,
"<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' "
"'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>"
"<html xmlns='http://www.w3.org/1999/xhtml'>"