query about rpcclient process_cmd:

Tim Potter tpot at samba.org
Thu Feb 13 22:31:33 GMT 2003


On Thu, Feb 13, 2003 at 10:24:57AM -0800, Herb Lewis wrote:

> > > Isn't the second check for newline redundant?
> > 
> > Looks like it to me.
> 
> Only redundant if we can guarentee that the cmd string will only have
> one \n at the end and no other ones embeded in the string. I don't
> know enough about rpcclient to know if this is true.

I think Martin and I decided that the check was necessary, and that the
whole pile of crummy code should be trashed and replaced with popt.  (-:


Tim.


More information about the samba-technical mailing list