threads / discuss / 29793

Question about credential api

Subject: Question about credential api

## tl;dr

One message between Mar 1, 2012 and Mar 1, 2012.

replies: 0people: 1as markdown or json

Nelson Benitez Leon· Mar 1, 2012, 13:33 UTC · lore
Hi Jeff, a quick question about credential api, after doing this:

static struct credential proxy_auth = CREDENTIAL_INIT; credential_from_url(&proxy_auth, "http://proxy.server.com:8080");

will prox_auth.username and prox_auth.password be an empty string ? so that strcmp(proxy_auth.username,"") returns zero.. couldn't figure that out from api-credentials.txt

Thanks,

← back to recent threads