# Question about credential api

1 messages from 2012-03-01 to 2012-03-01. Participants: Nelson Benitez Leon.
Thread: https://gitlist.dev/t/29793

## Nelson Benitez Leon, 2012-03-01 13:33

Subject: Question about credential api
Message-ID: <4F4F7A94.2000804@seap.minhap.es>
URL: https://gitlist.dev/e/4F4F7A94.2000804%40seap.minhap.es

```
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,

```
