(ftpfs_initconn): clarify errno setup.
commit798f6e87b3ca7f88f17c32d011f7b1292134b5ff
authorAndrew Borodin <aborodin@vmail.ru>
Sat, 7 May 2022 09:31:14 +0000 (7 12:31 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 5 Jun 2022 09:19:47 +0000 (5 12:19 +0300)
tree5a07bd645a4b913621eecddb46bdda13b7fd7aef
parent03cef1bb6f5063a171faa58c1cf7f8d94de5f1fd
(ftpfs_initconn): clarify errno setup.

Handle errors of bind(), getsockname(), and listen() calls.
Return if one of these functions fails and setup errno to indicate the
cause of the error.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/vfs/ftpfs/ftpfs.c