Start reworking rpcclient to use popt rather than next_token to parse
authorMartin Pool <mbp@samba.org>
Mon, 17 Feb 2003 05:42:36 +0000 (05:42 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 17 Feb 2003 05:42:36 +0000 (05:42 +0000)
commit541ed81a630aeae97a178e9099b0a920f9b3f84f
treed1b6952db29327f16e673a60339804ddc05ea47e
parentd9b33602a2c56e0fda376b1a876713402cbc1468
Start reworking rpcclient to use popt rather than next_token to parse
command lines.  This makes the code much simpler and also stops
trivial syntax errors from causing a crash.

Also fix support for semicolon-separated commands in -c, which is
promised by the manual but apparently never working due to an
off-by-one error.
(This used to be commit d85a25e733fe970ae96a02a5cbc892f2b8dca1b7)
source3/rpcclient/rpcclient.c