Re: load_defaults Strangeness

2001-06-11 Thread Van
Sinisa Milivojevic wrote: > > Van writes: > > Greetings: > > > > With the following code, I have 3 problems: > > 1../client -psecret works, but, ./client --password=secret does not; > > 2.After calling load_defaults, the argument vector is getting parsed, > > but, it's not making it

Re: load_defaults Strangeness

2001-06-11 Thread Sinisa Milivojevic
Van writes: > Greetings: > > With the following code, I have 3 problems: > 1../client -psecret works, but, ./client --password=secret does not; > 2.After calling load_defaults, the argument vector is getting parsed, > but, it's not making it into the switch processing. The values

Let's Try This Again {Was: load_defaults Strangeness}

2001-06-10 Thread Van
Greetings: Full source is at http://az.dedserius.com/main.c I'll reduce this to one problem at a time and see if I can make some progress, that way. With the following code, running with -psecret works, but, --password doesn't. Anyone ran into this? struct option long_options[] = { {

load_defaults Strangeness

2001-06-10 Thread Van
Greetings: With the following code, I have 3 problems: 1. ./client -psecret works, but, ./client --password=secret does not; 2. After calling load_defaults, the argument vector is getting parsed, but, it's not making it into the switch processing. The values from my gl