comparison cli-kex.c @ 79:5a55bd66707f

- don't crash when trying to add to known_hosts if it doesn't exist - comments
author Matt Johnston <matt@ucc.asn.au>
date Mon, 16 Aug 2004 08:59:11 +0000
parents e3adf4cf5465
children 07bcdccb3577
comparison
equal deleted inserted replaced
78:677843bfa734 79:5a55bd66707f
253 out: 253 out:
254 if (hostsfile != NULL) { 254 if (hostsfile != NULL) {
255 fclose(hostsfile); 255 fclose(hostsfile);
256 } 256 }
257 m_free(filename); 257 m_free(filename);
258 buf_free(line); 258 if (line != NULL) {
259 } 259 buf_free(line);
260 }
261 }