git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Question about credential api

From
NLNelson Benitez Leon <nelsonjesus.benitez@seap.minhap.es>
Date
Mar 1, 2012, 13:33 UTC
Message-ID
<4F4F7A94.2000804@seap.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,
Message 1 of 1 in “Question about credential api”
  1. Nelson Benitez LeonMar 1, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.