diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-05-02 20:18:21 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-05-02 20:18:21 +0000 |
commit | af08c4f878827928109a59a257cd6681bca7d68c (patch) | |
tree | 3ecdfa0edc8799499efe0ba6d03f9e3c469f2b2f /src/common/tortls.c | |
parent | a187d3e0b6329bd70b9823bd2d5489c8aaccf08e (diff) | |
download | tor-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.c | 2 |
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; |