Revert "s3: Move the global variable Protocol to struct smbd_server_connection"
[obnox/samba/samba-obnox.git] / source3 / client / client.c
index 19efa03d3ae6046f333760342e1c412573446b03..7cbaa81d5290811f191422e0b2aeb693f49c0ad0 100644 (file)
@@ -473,7 +473,7 @@ static bool do_this_one(file_info *finfo)
 
        if (*client_get_fileselection() &&
            !mask_match(finfo->name, client_get_fileselection(),
-                       PROTOCOL_NONE, false)) {
+                       get_Protocol(), false)) {
                DEBUG(3,("mask_match %s failed\n", finfo->name));
                return false;
        }