diff options
Diffstat (limited to 'src/stls')
-rw-r--r-- | src/stls/stls_run.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stls/stls_run.c b/src/stls/stls_run.c index 125e7f2..5c67034 100644 --- a/src/stls/stls_run.c +++ b/src/stls/stls_run.c @@ -255,7 +255,7 @@ int stls_run (struct tls *ctx, int *fds, unsigned int verbosity, uint32 options, r = buffer_tls_fill(ctx, b) ; if (r < 0) { - if (r == -1) strerr_warnwu1sys("read from peer") ; + if (r == -1) strerr_warnwu2x("read from peer: ", tls_error(ctx)) ; if (options & 1) shutdown(fds[2], SHUT_RD) ; fd_close(fds[2]) ; fds[2] = -1 ; if (buffer_isempty(&b[1].b)) |