summaryrefslogtreecommitdiff
path: root/source4/torture/util_smb.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-03 23:33:16 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:53 +0100
commitda0f222f432c4fc8bf5da80baf849ca32b315ca0 (patch)
tree3af5624aca9ce68b4b169ed1066dd03e8b2e7d9d /source4/torture/util_smb.c
parent5b357ca8774d97e85153151552bc052cfaf26c1b (diff)
downloadsamba-da0f222f432c4fc8bf5da80baf849ca32b315ca0.tar.gz
r26271: Remove some more uses of global_loadparm.
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
Diffstat (limited to 'source4/torture/util_smb.c')
-rw-r--r--source4/torture/util_smb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c
index 6e6acf220f2..65dfaec1ccd 100644
--- a/source4/torture/util_smb.c
+++ b/source4/torture/util_smb.c
@@ -279,11 +279,12 @@ void *shm_setup(int size)
}
-/*
+/**
check that a wire string matches the flags specified
not 100% accurate, but close enough for testing
*/
-bool wire_bad_flags(struct smb_wire_string *str, int flags, struct smbcli_transport *transport)
+bool wire_bad_flags(struct smb_wire_string *str, int flags,
+ struct smbcli_transport *transport)
{
bool server_unicode;
int len;