diff --git a/netio.c b/netio.c index c955430..d1ba926 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) {