Skip to contentSkip to conversation

Question about credential api

DISCUSSION Nelson Benitez Leon 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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,