aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-11-27 21:33:06 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-11-27 21:33:06 +0300
commitea25abb295d9b4fbaf0ac23af8ffe71247970f1b (patch)
tree67cba7b2e5f2c759eaa816de51bd35f3b32d1421 /examples
parent88081d9a4376b1ee4feed3bc843c46096e087b1e (diff)
downloadmagi-ea25abb295d9b4fbaf0ac23af8ffe71247970f1b.tar
magi-ea25abb295d9b4fbaf0ac23af8ffe71247970f1b.tar.xz
magi-ea25abb295d9b4fbaf0ac23af8ffe71247970f1b.zip
.
Diffstat (limited to 'examples')
-rw-r--r--examples/fcgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fcgi.c b/examples/fcgi.c
index 72fe83e..7d93614 100644
--- a/examples/fcgi.c
+++ b/examples/fcgi.c
@@ -39,7 +39,7 @@ int main(int argc, char const * argv[])
magi_request_destroy(&request);
}
}
- puts(magi_error_message(session.error));
+ fputs(magi_error_message(session.error), stderr);
magi_session_destroy(&session);
magi_socket_close(sock);
return 0;