summaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnome-vfs')
-rw-r--r--devel/gnome-vfs/files/patch-modules_smb-method.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/gnome-vfs/files/patch-modules_smb-method.c b/devel/gnome-vfs/files/patch-modules_smb-method.c
new file mode 100644
index 000000000..416dae018
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-modules_smb-method.c
@@ -0,0 +1,11 @@
+--- modules/smb-method.c.orig Mon Sep 12 02:29:46 2005
++++ modules/smb-method.c Mon Sep 12 02:30:57 2005
+@@ -1486,7 +1486,7 @@ do_close (GnomeVFSMethod *method,
+
+ /* Important: perform_authentication leaves and re-enters the lock! */
+ while (perform_authentication (&actx) > 0) {
+- r = smb_context->close (smb_context, handle->file);
++ r = smb_context->close_fn (smb_context, handle->file);
+ actx.res = (r >= 0) ? GNOME_VFS_OK : gnome_vfs_result_from_errno ();
+ }
+