changeset 1067:ce21d0bfaf98

dropbear_assert() rather than assert()
author Matt Johnston <matt@ucc.asn.au>
date Mon, 16 Mar 2015 21:33:01 +0800
parents cce03ea8e6eb
children 2fa71c3b2827 686cd3e8e13e
files netio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/netio.c	Wed Mar 11 23:10:27 2015 +0800
+++ b/netio.c	Mon Mar 16 21:33:01 2015 +0800
@@ -76,7 +76,7 @@
 
 	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) {