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.
|
||||
|
10
vfs/smbfs.c
10
vfs/smbfs.c
@ -1630,7 +1630,7 @@ 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));
|
||||
DEBUG (3, ("smbfs_link(p1:%s, p2:%s)\n", p1, p2));
|
||||
my_errno = EOPNOTSUPP;
|
||||
return -1;
|
||||
}
|
||||
@ -1642,22 +1642,22 @@ static vfsid
|
||||
smbfs_getid (vfs *me, char *p, struct vfs_stamping **parent)
|
||||
{
|
||||
*parent = NULL;
|
||||
DEBUG(3, ("smbfs_getid(p:%s)\n", p));
|
||||
DEBUG (3, ("smbfs_getid(p:%s)\n", p));
|
||||
|
||||
return (vfsid) -1;
|
||||
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 ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user