(ftpfs_get_reply): fix condition.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-10-23 15:18:47 +04:00
parent 56b71ae696
commit 1fcf90401a
1 changed files with 1 additions and 1 deletions

View File

@ -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)