mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* smbfs.c (smbfs_nothingisopen): Warning fix for 64-bit systems.
(smbfs_free): Likewise.
This commit is contained in:
parent
fc1319fd31
commit
4d4294fdb4
@ -1,3 +1,8 @@
|
||||
2003-01-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* smbfs.c (smbfs_nothingisopen): Warning fix for 64-bit systems.
|
||||
(smbfs_free): Likewise.
|
||||
|
||||
2003-01-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* extfs/urar.in: Search $PATH for unrar, fallback to rar.
|
||||
|
16
vfs/smbfs.c
16
vfs/smbfs.c
@ -1630,8 +1630,8 @@ smbfs_rmdir (vfs *me, char *path)
|
||||
static int
|
||||
smbfs_link (vfs *me, char *p1, char *p2)
|
||||
{
|
||||
DEBUG(3, ("smbfs_link(p1:%s, p2:%s)\n", p1, p2));
|
||||
my_errno = EOPNOTSUPP;
|
||||
DEBUG (3, ("smbfs_link(p1:%s, p2:%s)\n", p1, p2));
|
||||
my_errno = EOPNOTSUPP;
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -1642,24 +1642,24 @@ static vfsid
|
||||
smbfs_getid (vfs *me, char *p, struct vfs_stamping **parent)
|
||||
{
|
||||
*parent = NULL;
|
||||
DEBUG(3, ("smbfs_getid(p:%s)\n", p));
|
||||
|
||||
return (vfsid) -1;
|
||||
DEBUG (3, ("smbfs_getid(p:%s)\n", p));
|
||||
|
||||
return (vfsid) - 1;
|
||||
}
|
||||
|
||||
static int
|
||||
smbfs_nothingisopen (vfsid id)
|
||||
{
|
||||
DEBUG(3, ("smbfs_nothingisopen(%d)\n", (int)id));
|
||||
DEBUG (3, ("smbfs_nothingisopen(%p)\n", id));
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
smbfs_free (vfsid id)
|
||||
{
|
||||
DEBUG(3, ("smbfs_free(%d)\n", (int)id));
|
||||
DEBUG (3, ("smbfs_free(%p)\n", id));
|
||||
/* FIXME: Should not be empty */
|
||||
authinfo_free_all ();
|
||||
authinfo_free_all ();
|
||||
}
|
||||
|
||||
/* Gives up on a socket and reopens the connection, the child own the socket
|
||||
|
Loading…
Reference in New Issue
Block a user