summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-20 19:35:13 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-20 19:35:13 +0000
commitdcaceb410d62bc6667b44692eab9506275f3f139 (patch)
treedef7fc7e178ade4836885f09666471d7b45f8847 /source3/torture
parentadbd28b6823487f07a479fe01ddb64399aebd43a (diff)
downloadsamba-dcaceb410d62bc6667b44692eab9506275f3f139.tar.gz
samba-dcaceb410d62bc6667b44692eab9506275f3f139.tar.bz2
samba-dcaceb410d62bc6667b44692eab9506275f3f139.zip
some fixes
(This used to be commit e0c61b31050a3e3fdec2c47c80ef34de3ec73e04)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/vfstest.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index 0cdff84ed4..9deb309352 100644
--- a/source3/torture/vfstest.c
+++ b/source3/torture/vfstest.c
@@ -4,6 +4,7 @@
Copyright (C) Simo Sorce 2002
Copyright (C) Eric Lorimer 2002
+ Copyright (C) Jelmer Vernooij 2002
Most of this code was ripped off of rpcclient.
Copyright (C) Tim Potter 2000-2001
@@ -44,13 +45,8 @@ static char **completion_fn(char *text, int start, int end)
int i, count=0;
struct cmd_list *commands = cmd_list;
-#if 0 /* JERRY */
- /* FIXME!!! -- what to do when completing argument? */
- /* for words not at the start of the line fallback
- to filename completion */
if (start)
return NULL;
-#endif
/* make sure we have a list of valid commands */
if (!commands)
@@ -437,10 +433,8 @@ int main(int argc, char *argv[])
a fixed location or certain compilers complain */
poptContext pc;
struct poptOption long_options[] = {
-/* {"conf", 's', POPT_ARG_STRING, &opt_configfile, 's'},*/
{"debug", 'd', POPT_ARG_INT, &opt_debuglevel, 'd'},
{"debuglevel", 'd', POPT_ARG_INT, &opt_debuglevel, 'd'},
-/* {"user", 'U', POPT_ARG_STRING, &opt_username, 'U'},*/
{"command", 'c', POPT_ARG_STRING, &cmdstr},
{"logfile", 'l', POPT_ARG_STRING, &opt_logfile, 'l'},
{"help", 'h', POPT_ARG_NONE, 0, 'h'},
@@ -469,23 +463,6 @@ int main(int argc, char *argv[])
DEBUGLEVEL = opt_debuglevel;
break;
- /*
- case 'U': {
- char *lp;
-
- pstrcpy(username,opt_username);
-
- if ((lp=strchr_m(username,'%'))) {
- *lp = 0;
- pstrcpy(password,lp+1);
- got_pass = 1;
- memset(strchr_m(opt_username,'%') + 1, 'X',
- strlen(password));
- }
- break;
- }
- */
-
case 'h':
default:
usage();