mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
known_hosts: Fix readablity.
This commit is contained in:
@@ -133,7 +133,7 @@ static char **ssh_get_knownhost_line(ssh_session session, FILE **file,
|
||||
*ptr = '\0';
|
||||
}
|
||||
|
||||
if (!buffer[0] || buffer[0] == '#') {
|
||||
if (buffer[0] == '\0' || buffer[0] == '#') {
|
||||
continue; /* skip empty lines */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user