summaryrefslogtreecommitdiffstats
path: root/source/torture/torture_util.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-15 20:16:26 +0000
committerJelmer Vernooij <jelmer@samba.org>2005-05-15 20:16:26 +0000
commit4d650946d01e1a4e357dcecf1c6f9b5f876ccf09 (patch)
treee40642b34d02ebeb1d0e64fb2b2781b7a7913d42 /source/torture/torture_util.c
parent76a4491b3d6da6e6c95fe1a110e6ab3b24c0b38e (diff)
downloadsamba-4d650946d01e1a4e357dcecf1c6f9b5f876ccf09.tar.gz
samba-4d650946d01e1a4e357dcecf1c6f9b5f876ccf09.tar.xz
samba-4d650946d01e1a4e357dcecf1c6f9b5f876ccf09.zip
r6795: Make some functions static and remove some unused ones.
Diffstat (limited to 'source/torture/torture_util.c')
-rw-r--r--source/torture/torture_util.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source/torture/torture_util.c b/source/torture/torture_util.c
index c1e35cf3eff..e474c06c6b7 100644
--- a/source/torture/torture_util.c
+++ b/source/torture/torture_util.c
@@ -291,25 +291,6 @@ BOOL split_unc_name(const char *unc, char **server, char **share)
}
/*
- split a USER%PASS pair into username and password
-*/
-BOOL split_username(const char *pair, char **user, char **pass)
-{
- char *p = strdup(pair);
- if (!p) return False;
-
- (*user) = p;
-
- p = strchr(*user, '%');
- if (!p) return False;
-
- *p = 0;
- (*pass) = p+1;
-
- return True;
-}
-
-/*
set a attribute on a file
*/
BOOL torture_set_file_attribute(struct smbcli_tree *tree, const char *fname, uint16_t attrib)