summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2019-05-20 14:34:56 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2019-05-20 14:36:25 +0200
commit291db24750d418177b2c2a93d6a75f01bc339b02 (patch)
treef7042cf00d0fb7df3d045fe826ebb34a1038be72 /src
parent3668ce5363b1300bb8ab25892c7e1d321596e560 (diff)
downloadgnutls-291db24750d418177b2c2a93d6a75f01bc339b02.tar.gz
gnutls-serv: GERR macro will output in stderr
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/serv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serv.c b/src/serv.c
index fbb40258a5..6043fed7fe 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -99,7 +99,7 @@ static void tcp_server(const char *name, int port);
#define SMALL_READ_TEST (2147483647)
-#define GERR(ret) fprintf(stdout, "Error: %s\n", safe_strerror(ret))
+#define GERR(ret) fprintf(stderr, "Error: %s\n", safe_strerror(ret))
#define HTTP_END "</BODY></HTML>\n\n"