mirror of https://github.com/MidnightCommander/mc
(ftpfs_get_reply): fix condition.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
56b71ae696
commit
1fcf90401a
|
@ -386,7 +386,7 @@ ftpfs_get_reply (struct vfs_class *me, int sock, char *string_buf, int string_le
|
|||
code = 421;
|
||||
return 4;
|
||||
}
|
||||
switch (sscanf (answer, "%d", &code) != 0)
|
||||
switch (sscanf (answer, "%d", &code))
|
||||
{
|
||||
case 0:
|
||||
if (string_buf != NULL)
|
||||
|
|
Loading…
Reference in New Issue