gvfs r1774 - in trunk: . daemon



Author: tbzatek
Date: Wed May 21 16:14:49 2008
New Revision: 1774
URL: http://svn.gnome.org/viewvc/gvfs?rev=1774&view=rev

Log:
Fix username & domain tests while setting mount spec

Modified:
   trunk/ChangeLog
   trunk/daemon/gvfsbackendsmb.c

Modified: trunk/daemon/gvfsbackendsmb.c
==============================================================================
--- trunk/daemon/gvfsbackendsmb.c	(original)
+++ trunk/daemon/gvfsbackendsmb.c	Wed May 21 16:14:49 2008
@@ -561,9 +561,9 @@
   smb_mount_spec = g_mount_spec_new ("smb-share");
   g_mount_spec_set (smb_mount_spec, "share", op_backend->share);
   g_mount_spec_set (smb_mount_spec, "server", op_backend->server);
-  if (op_backend->user)
+  if (op_backend->last_user)
     g_mount_spec_set (smb_mount_spec, "user", op_backend->last_user);
-  if (op_backend->domain)
+  if (op_backend->last_domain)
     g_mount_spec_set (smb_mount_spec, "domain", op_backend->last_domain);
 
   g_vfs_backend_set_mount_spec (backend, smb_mount_spec);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]