diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-05-15 20:16:26 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-05-15 20:16:26 +0000 |
commit | 4d650946d01e1a4e357dcecf1c6f9b5f876ccf09 (patch) | |
tree | e40642b34d02ebeb1d0e64fb2b2781b7a7913d42 /source/torture/torture_util.c | |
parent | 76a4491b3d6da6e6c95fe1a110e6ab3b24c0b38e (diff) | |
download | samba-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.c | 19 |
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) |