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