summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-05-02 20:18:21 +0000
committerNick Mathewson <nickm@torproject.org>2004-05-02 20:18:21 +0000
commitaf08c4f878827928109a59a257cd6681bca7d68c (patch)
tree3ecdfa0edc8799499efe0ba6d03f9e3c469f2b2f /src/common/tortls.c
parenta187d3e0b6329bd70b9823bd2d5489c8aaccf08e (diff)
downloadtor-af08c4f878827928109a59a257cd6681bca7d68c.tar.gz
tor-af08c4f878827928109a59a257cd6681bca7d68c.zip
Working strerror for windows socket errors, plus some snide comments.
svn:r1775
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index e480f79e77..f4a81ed306 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -121,7 +121,7 @@ tor_tls_get_error(tor_tls *tls, int r, int extra,
else {
int e = tor_socket_errno(tls->socket);
log(severity, "TLS error: <syscall error while %s> (errno=%d: %s)",
- doing, e, strerror(e));
+ doing, e, tor_socket_strerror(e));
}
tls_log_errors(severity, doing);
return TOR_TLS_ERROR;