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/or/connection_edge.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/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 7a9bdfd0a3..d4dd2d42ea 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1067,7 +1067,8 @@ int connection_ap_make_bridge(char *address, uint16_t port) { log_fn(LOG_INFO,"Making AP bridge to %s:%d ...",address,port); if(tor_socketpair(AF_UNIX, SOCK_STREAM, 0, fd) < 0) { - log(LOG_WARN, "Couldn't construct socketpair (%s). Network down? Delaying.", strerror(errno)); + log(LOG_WARN,"Couldn't construct socketpair (%s). Network down? Delaying.", + tor_socket_strerror(tor_socket_errno(-1))); return -1; } |