summaryrefslogtreecommitdiffhomepage
path: root/netio.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-03-16 21:33:01 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-03-16 21:33:01 +0800
commitdce384668bb8e684c0e83f03a7ff4b30cfc6fe4b (patch)
treecbe2ee79ae6e41ec3c39ea94b4737c6948c6bde7 /netio.c
parent67b4fa313e3bdba832574c6108593705136158da (diff)
dropbear_assert() rather than assert()
Diffstat (limited to 'netio.c')
-rw-r--r--netio.c2
1 files changed, 1 insertions, 1 deletions
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) {