dc9df97
diff -up gnome-vfs-2.19.3/modules/smb-method.c.posix gnome-vfs-2.19.3/modules/smb-method.c
dc9df97
--- gnome-vfs-2.19.3/modules/smb-method.c.posix	2007-08-11 20:05:43.000000000 -0400
dc9df97
+++ gnome-vfs-2.19.3/modules/smb-method.c	2007-08-11 20:06:17.000000000 -0400
dc9df97
@@ -1546,7 +1546,7 @@ do_open (GnomeVFSMethod *method,
dc9df97
 
dc9df97
 	/* Important: perform_authentication leaves and re-enters the lock! */
dc9df97
 	while (perform_authentication (&actx) > 0) {
dc9df97
-		file = smb_context->open (smb_context, path, unix_mode, 0666);
dc9df97
+		file = (smb_context->open) (smb_context, path, unix_mode, 0666);
dc9df97
 		actx.res = (file != NULL) ? GNOME_VFS_OK : gnome_vfs_result_from_errno ();
dc9df97
 	}
dc9df97
 
dc9df97
@@ -1740,7 +1740,7 @@ do_create (GnomeVFSMethod *method,
dc9df97
 	
dc9df97
 	/* Important: perform_authentication leaves and re-enters the lock! */	
dc9df97
 	while (perform_authentication (&actx) > 0) {
dc9df97
-		file = smb_context->open (smb_context, path, unix_mode, perm);
dc9df97
+		file = (smb_context->open) (smb_context, path, unix_mode, perm);
dc9df97
 		actx.res = (file != NULL) ? GNOME_VFS_OK : gnome_vfs_result_from_errno ();
dc9df97
 	}
dc9df97