From dce384668bb8e684c0e83f03a7ff4b30cfc6fe4b Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Mon, 16 Mar 2015 21:33:01 +0800
Subject: [PATCH] dropbear_assert() rather than assert()

---
 netio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netio.c b/netio.c
index c955430d..d1ba9264 100644
--- a/netio.c
+++ b/netio.c
@@ -76,7 +76,7 @@ static void connect_try_next(struct dropbear_progress_connection *c) {
 
 	for (r = c->res_iter; r; r = r->ai_next)
 	{
-		assert(c->sock == -1);
+		dropbear_assert(c->sock == -1);
 
 		c->sock = socket(c->res_iter->ai_family, c->res_iter->ai_socktype, c->res_iter->ai_protocol);
 		if (c->sock < 0) {
-- 
GitLab