aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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;