summaryrefslogtreecommitdiff
path: root/devel/gnome-vfs/files/patch-modules_smb-method.c
blob: 34c10cd54f08ad2dc6c1624c4bb6ee7b1e27af86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- modules/smb-method.c.orig	Wed Mar  2 18:44:11 2005
+++ modules/smb-method.c	Mon Sep 12 02:36:28 2005
@@ -1425,7 +1425,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 ();
 		}
 
@@ -1446,7 +1446,7 @@ do_read (GnomeVFSMethod *method,
 	 GnomeVFSContext *context)
 {
 	FileHandle *handle = (FileHandle *)method_handle;
-	GnomeVFSResult res = GNOME_VFS_OK;;
+	GnomeVFSResult res = GNOME_VFS_OK;
 	SmbAuthContext actx;
 	ssize_t n = 0;