mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
* ftpfs.c (initconn): Use more portable initialization.
* xdirentry.h: Use safer definition of ERRNOR.
This commit is contained in:
parent
d1a227c55b
commit
ef9371e3fa
@ -1,3 +1,8 @@
|
||||
2003-08-29 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* ftpfs.c (initconn): Use more portable initialization.
|
||||
* xdirentry.h: Use safer definition of ERRNOR.
|
||||
|
||||
2003-08-18 Oskar Liljeblad <oskar@osk.mine.nu>
|
||||
|
||||
* extfs/uzip.in: Fix error in parsing size of files over 9999999
|
||||
|
@ -922,7 +922,8 @@ static int
|
||||
initconn (vfs *me, vfs_s_super *super)
|
||||
{
|
||||
struct sockaddr_in data_addr;
|
||||
int data, len = sizeof(data_addr);
|
||||
int data;
|
||||
int len = sizeof(data_addr);
|
||||
struct protoent *pe;
|
||||
|
||||
pe = getprotobyname ("tcp");
|
||||
|
@ -250,11 +250,7 @@ int vfs_s_get_line_interruptible (vfs *me, char *buffer, int size, int fd);
|
||||
/* misc */
|
||||
int vfs_s_retrieve_file (vfs *me, struct vfs_s_inode *ino);
|
||||
|
||||
#if 0
|
||||
#define ERRNOR(a, b) do { me->verrno = a; return b; } while (0)
|
||||
#else
|
||||
#define ERRNOR(a, b) { me->verrno = a; return b; }
|
||||
#endif
|
||||
|
||||
#define MEDATA ((struct vfs_s_data *) me->data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user