diff options
author | Matt Johnston <matt@ucc.asn.au> | 2007-02-03 13:57:35 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2007-02-03 13:57:35 +0000 |
commit | 16517e67603787b9c11c6feeb779b3edb0597ed2 (patch) | |
tree | 4ccc4ff7c4b46ae81ae357990ccc55c137a4182b /dbutil.c | |
parent | d2f292b3adec9bdb2bbb221b1d05f13f3da21be7 (diff) |
Fix failure-handling in dropbear_listen() when errstring is unset
(this codepath isn't used)
--HG--
extra : convert_revision : d29f3665a91c4bf71a2d8bd99b33348a0317e605
Diffstat (limited to 'dbutil.c')
-rw-r--r-- | dbutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -286,9 +286,9 @@ int dropbear_listen(const char* address, const char* port, len = 20 + strlen(strerror(err)); *errstring = (char*)m_malloc(len); snprintf(*errstring, len, "Error listening: %s", strerror(err)); - TRACE(("leave dropbear_listen: failure, %s", strerror(err))) - return -1; } + TRACE(("leave dropbear_listen: failure, %s", strerror(err))) + return -1; } TRACE(("leave dropbear_listen: success, %d socks bound", nsock)) |