summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-11 16:55:16 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-11 18:46:13 +0200
commit97af3586567ff7ad4f22e083d32e5cfa2ebbb96e (patch)
tree76a4c864fa0385a89045cd1d0c691838a788dfba
parentbf5e625393776b82c6f0d39852b76647716aab27 (diff)
downloadsamba-97af3586567ff7ad4f22e083d32e5cfa2ebbb96e.tar.gz
samba-97af3586567ff7ad4f22e083d32e5cfa2ebbb96e.tar.bz2
samba-97af3586567ff7ad4f22e083d32e5cfa2ebbb96e.zip
s4:libcli/raw/raw*.c - add unhandled enum values
Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Jun 11 18:46:13 CEST 2011 on sn-devel-104
-rw-r--r--source4/libcli/raw/rawfile.c1
-rw-r--r--source4/libcli/raw/rawsetfileinfo.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c
index 626067a2a2..1cacaab5cf 100644
--- a/source4/libcli/raw/rawfile.c
+++ b/source4/libcli/raw/rawfile.c
@@ -904,6 +904,7 @@ struct smbcli_request *smb_raw_lock_send(struct smbcli_tree *tree, union smb_loc
break;
}
case RAW_LOCK_SMB2:
+ case RAW_LOCK_SMB2_BREAK:
return NULL;
}
diff --git a/source4/libcli/raw/rawsetfileinfo.c b/source4/libcli/raw/rawsetfileinfo.c
index 6ad3e9ee8d..ff36d50e94 100644
--- a/source4/libcli/raw/rawsetfileinfo.c
+++ b/source4/libcli/raw/rawsetfileinfo.c
@@ -262,11 +262,11 @@ static bool smb_raw_setinfo_backend(struct smbcli_tree *tree,
return smb_raw_setfileinfo_passthru(mem_ctx, parms->generic.level,
parms, blob);
- /* Unhandled levels */
-
+ /* Unhandled levels */
case RAW_SFILEINFO_UNIX_LINK:
case RAW_SFILEINFO_UNIX_HLINK:
case RAW_SFILEINFO_RENAME_INFORMATION_SMB2:
+ case RAW_SFILEINFO_LINK_INFORMATION:
break;
}