geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 0c4826690932856f9470dafd51fdeb8aa182c7ac
parent 8c16e613e8c3eea49d51a01a0009258f9e1caafa
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun,  7 Jun 2020 20:33:38 +0200

Log to stderr for tls_write.

Diffstat:
main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -802,7 +802,7 @@ main(int argc, char *argv[]) for (shufpos = 0; shufpos < shuflen; shufpos += wlen) { wlen = tls_write(tlsclientctx, shufbuf+shufpos, shuflen-shufpos); if (wlen < 0) { - printf("tls_write failed: %s\n", tls_error(tlsclientctx)); + fprintf(stderr, "tls_write failed: %s\n", tls_error(tlsclientctx)); return 1; } }