[gvfs] smb: Remove old compatibility ifdefs



commit b311211d4b1eb9c9129bbf601772435d16b56259
Author: Ross Lagerwall <rosslagerwall gmail com>
Date:   Thu Oct 23 23:50:25 2014 +0100

    smb: Remove old compatibility ifdefs
    
    Remove old compatibility ifdefs left over from ad521f604df7 ("Require
    libsmbclient from Samba 3.4.0 or higher").

 daemon/gvfsbackendsmb.c       |    4 ----
 daemon/gvfsbackendsmbbrowse.c |    4 ----
 2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/daemon/gvfsbackendsmb.c b/daemon/gvfsbackendsmb.c
index 7e5bab5..74655a7 100644
--- a/daemon/gvfsbackendsmb.c
+++ b/daemon/gvfsbackendsmb.c
@@ -544,10 +544,6 @@ do_mount (GVfsBackend *backend,
   if (op_backend->default_workgroup != NULL)
     smbc_setWorkgroup (smb_context, op_backend->default_workgroup);
 
-#ifndef DEPRECATED_SMBC_INTERFACE
-  smb_context->flags = 0;
-#endif
-  
   /* Initial settings:
    *   - use Kerberos (always)
    *   - in case of no username specified, try anonymous login
diff --git a/daemon/gvfsbackendsmbbrowse.c b/daemon/gvfsbackendsmbbrowse.c
index 1b4cf9e..1abce2b 100644
--- a/daemon/gvfsbackendsmbbrowse.c
+++ b/daemon/gvfsbackendsmbbrowse.c
@@ -887,10 +887,6 @@ do_mount (GVfsBackend *backend,
   if (op_backend->default_workgroup != NULL)
     smbc_setWorkgroup (smb_context, op_backend->default_workgroup);
 
-#ifndef DEPRECATED_SMBC_INTERFACE
-  smb_context->flags = 0;
-#endif
-
   /* Initial settings: 
    *   - use Kerberos (always) 
    *   - in case of no username specified, try anonymous login 


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