Mercurial > dropbear
comparison main.c @ 26:0969767bca0d
snapshot of stuff
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 26 Jul 2004 02:44:20 +0000 |
parents | 469950e86d0f |
children |
comparison
equal
deleted
inserted
replaced
25:e4b6e2d569b2 | 26:0969767bca0d |
---|---|
238 } | 238 } |
239 | 239 |
240 if (m_close(childpipe[0]) == DROPBEAR_FAILURE) { | 240 if (m_close(childpipe[0]) == DROPBEAR_FAILURE) { |
241 dropbear_exit("Couldn't close socket"); | 241 dropbear_exit("Couldn't close socket"); |
242 } | 242 } |
243 | |
243 /* start the session */ | 244 /* start the session */ |
244 svr_session(childsock, childpipe[1], &remoteaddr); | 245 svr_session(childsock, childpipe[1], |
246 getaddrhostname(&remoteaddr)); | |
245 /* don't return */ | 247 /* don't return */ |
246 assert(0); | 248 assert(0); |
247 } | 249 } |
248 | 250 |
249 /* parent */ | 251 /* parent */ |