version 1.117.2.1, 2005/03/10 16:28:28 |
version 1.117.2.2, 2005/06/05 02:22:39 |
|
|
if (delete_host && !c) |
if (delete_host && !c) |
print_host(out, cp, public, 0); |
print_host(out, cp, public, 0); |
} else if (hash_hosts) { |
} else if (hash_hosts) { |
for(cp2 = strsep(&cp, ","); |
for (cp2 = strsep(&cp, ","); |
cp2 != NULL && *cp2 != '\0'; |
cp2 != NULL && *cp2 != '\0'; |
cp2 = strsep(&cp, ",")) { |
cp2 = strsep(&cp, ",")) { |
if (strcspn(cp2, "*?!") != strlen(cp2)) |
if (strcspn(cp2, "*?!") != strlen(cp2)) |
|
|
identity_file); |
identity_file); |
if (inplace) { |
if (inplace) { |
fprintf(stderr, "Not replacing existing known_hosts " |
fprintf(stderr, "Not replacing existing known_hosts " |
"file beacuse of errors"); |
"file because of errors\n"); |
fclose(out); |
fclose(out); |
unlink(tmp); |
unlink(tmp); |
} |
} |