# HG changeset patch # User Matt Johnston # Date 1170511055 0 # Node ID 28b10e93685ce709b127dceaf7903f008ee5e86d # Parent ea0929224294c8c0dece70bbdd921b8f106c36d1 Fix failure-handling in dropbear_listen() when errstring is unset (this codepath isn't used) diff -r ea0929224294 -r 28b10e93685c dbutil.c --- a/dbutil.c Sat Feb 03 13:50:47 2007 +0000 +++ b/dbutil.c Sat Feb 03 13:57:35 2007 +0000 @@ -286,9 +286,9 @@ 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))