comparison svr-service.c @ 22:c1e5d9195402

merge of abac2150ee4f4031a98016241fbd136d24fed127 and ffa047425729e478a5b49b1ab0f8ec71c08a1421
author Matt Johnston <matt@ucc.asn.au>
date Wed, 23 Jun 2004 07:14:16 +0000
parents fe6bca95afa7
children f789045062e6
comparison
equal deleted inserted replaced
14:5ae28f6101c1 22:c1e5d9195402
54 } 54 }
55 55
56 /* ssh-connection */ 56 /* ssh-connection */
57 if (len == SSH_SERVICE_CONNECTION_LEN && 57 if (len == SSH_SERVICE_CONNECTION_LEN &&
58 (strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) { 58 (strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) {
59 if (svr_ses.authstate.authdone != 1) { 59 if (ses.authdone != 1) {
60 dropbear_exit("request for connection before auth"); 60 dropbear_exit("request for connection before auth");
61 } 61 }
62 62
63 send_msg_service_accept(name, len); 63 send_msg_service_accept(name, len);
64 m_free(name); 64 m_free(name);