On Mon, Jun 3, 2013 at 10:33 AM, Ajay Tanpure <ajaytanpur...@gmail.com>wrote:
> {"https", 'N', POPT_ARG_VAL, &https_port_s, 0, 0, 0}} > > You can find popt documentation here: http://linux.die.net/man/3/popt As that page indicates, POPT_ARG_VAL sets an int var-ptr to an int value supplied in your structure (which is 0 above). You probably want POPT_ARG_INT. How should the option arguments be passed? > You'll find a bunch of arg-passing code lower down in options.c where it pushes strings onto an arg array for the remote server. ..wayne..
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html