mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
dropbear_assert() rather than assert()
This commit is contained in:
parent
67b4fa313e
commit
dce384668b
2
netio.c
2
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user