mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
ftp_get_line: Reflow some code.
This commit is contained in:
parent
e1ea1cf2bb
commit
2d49225db3
@ -1176,12 +1176,12 @@ ftp_get_line(struct cache_entry *cached, unsigned char *buf, int bufl,
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!last && bufl < FTP_BUF_SIZE) {
|
if (last || bufl >= FTP_BUF_SIZE) {
|
||||||
return -1;
|
*len = bufl;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
*len = bufl;
|
return -1;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user