Mercurial > dropbear
comparison common-session.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 | 3311f4aa52cb |
comparison
equal
deleted
inserted
replaced
238:e923801a7678 | 241:c5d3ef11155f |
---|---|
124 | 124 |
125 timeout.tv_sec = SELECT_TIMEOUT; | 125 timeout.tv_sec = SELECT_TIMEOUT; |
126 timeout.tv_usec = 0; | 126 timeout.tv_usec = 0; |
127 FD_ZERO(&writefd); | 127 FD_ZERO(&writefd); |
128 FD_ZERO(&readfd); | 128 FD_ZERO(&readfd); |
129 assert(ses.payload == NULL); | 129 dropbear_assert(ses.payload == NULL); |
130 if (ses.sock != -1) { | 130 if (ses.sock != -1) { |
131 FD_SET(ses.sock, &readfd); | 131 FD_SET(ses.sock, &readfd); |
132 if (!isempty(&ses.writequeue)) { | 132 if (!isempty(&ses.writequeue)) { |
133 FD_SET(ses.sock, &writefd); | 133 FD_SET(ses.sock, &writefd); |
134 } | 134 } |