aboutsummaryrefslogtreecommitdiff
path: root/examples/fastcgi.c
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-03-02 20:10:16 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-03-02 20:10:16 +0300
commit9d0fb8156d6122730c6007393d49a6d76a114c60 (patch)
tree4aff03474026772b7a0debb60d5a6f3bc5fd0beb /examples/fastcgi.c
parentc65fdedc7bedfc20da73cdbfc34c22bb80139896 (diff)
downloadmagi-9d0fb8156d6122730c6007393d49a6d76a114c60.tar
magi-9d0fb8156d6122730c6007393d49a6d76a114c60.tar.xz
magi-9d0fb8156d6122730c6007393d49a6d76a114c60.zip
[magi]
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'>"