diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-03-16 21:33:01 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-03-16 21:33:01 +0800 |
commit | dce384668bb8e684c0e83f03a7ff4b30cfc6fe4b (patch) | |
tree | cbe2ee79ae6e41ec3c39ea94b4737c6948c6bde7 /netio.c | |
parent | 67b4fa313e3bdba832574c6108593705136158da (diff) |
dropbear_assert() rather than assert()
Diffstat (limited to 'netio.c')
-rw-r--r-- | netio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |