smbtorture: Fixx off-by-one command line parsing.
authorJames Peach <jpeach@samba.org>
Mon, 21 Jun 2010 18:09:45 +0000 (11:09 -0700)
committerJames Peach <jpeach@samba.org>
Mon, 21 Jun 2010 18:09:45 +0000 (11:09 -0700)
commit6227eac607131ed1042af1de83af7f70d0b05375
tree93d844743d7af52ab614735b03c3f5dedc35b159
parent0fc18ead76a79286365646eeb7607b39b01a1c9f
smbtorture: Fixx off-by-one command line parsing.

If we are not in shell mode we require both the target and test name
arguments. Make sure we process these from the correct index.
source4/torture/smbtorture.c