comparison svr-main.c @ 241:c5d3ef11155f

* use own assertions which should get logged properly
author Matt Johnston <matt@ucc.asn.au>
date Mon, 05 Sep 2005 15:16:10 +0000
parents 0cfba3034be5
children c07de41b53d7 306499676384
comparison
equal deleted inserted replaced
238:e923801a7678 241:c5d3ef11155f
282 /* start the session */ 282 /* start the session */
283 svr_session(childsock, childpipe[1], 283 svr_session(childsock, childpipe[1],
284 getaddrhostname(&remoteaddr), 284 getaddrhostname(&remoteaddr),
285 addrstring); 285 addrstring);
286 /* don't return */ 286 /* don't return */
287 assert(0); 287 dropbear_assert(0);
288 } 288 }
289 289
290 /* parent */ 290 /* parent */
291 childpipes[j] = childpipe[0]; 291 childpipes[j] = childpipe[0];
292 if (m_close(childpipe[1]) == DROPBEAR_FAILURE 292 if (m_close(childpipe[1]) == DROPBEAR_FAILURE