{"thread":{"id":"29794","subject":"Re: Question about credential api","startedAt":"2012-03-01T14:34:33Z","lastAt":"2012-03-01T20:44:39Z","messageCount":2,"participants":["Nelson Benitez Leon","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"185818","messageId":"4F4F88F9.50302@seap.minhap.es","threadId":"29794","inReplyTo":null,"subject":"Re: Question about credential api","fromName":"Nelson Benitez Leon","fromEmail":"nelsonjesus.benitez@seap.minhap.es","sentAt":"2012-03-01T14:34:33Z","receivedAt":"2012-03-01T14:34:33Z","isPatch":false,"sender":{"key":"nelsonjesus.benitez@seap.minhap.es","avatar":null},"body":"Ok don't bother, I've already checked and seems to return NULL\n in this case.\n"},{"id":"185850","messageId":"20120301204439.GA17631@sigill.intra.peff.net","threadId":"29794","inReplyTo":"4F4F88F9.50302@seap.minhap.es","subject":"Re: Question about credential api","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2012-03-01T20:44:39Z","receivedAt":"2012-03-01T20:44:39Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Thu, Mar 01, 2012 at 02:33:08PM +0100, Nelson Benitez Leon wrote:\n\n> static struct credential proxy_auth = CREDENTIAL_INIT;\n> credential_from_url(&proxy_auth, \"http://proxy.server.com:8080\");\n> \n> will prox_auth.username and prox_auth.password be an empty string ? so\n> that strcmp(proxy_auth.username,\"\") returns zero.. couldn't figure that\n> out from api-credentials.txt \n> [...]\n> Ok don't bother, I've already checked and seems to return NULL\n>  in this case.\n\nRight. It is NULL, which translates to \"we don't know yet and it needs\nto be filled in during credential_fill\".\n\n-Peff\n"}]}