MCPcopy Create free account
hub / github.com/git/git / var_override

Function var_override

http.c:686–692  ·  view source on GitHub ↗

var must be free-able */

Source from the content-addressed store, hash-verified

684
685/* *var must be free-able */
686static void var_override(char **var, char *value)
687{
688 if (value) {
689 free(*var);
690 *var = xstrdup(value);
691 }
692}
693
694static void set_proxyauth_name_password(CURL *result)
695{

Callers 3

init_curl_proxy_authFunction · 0.85
get_curl_handleFunction · 0.85
http_initFunction · 0.85

Calls 1

xstrdupFunction · 0.85

Tested by

no test coverage detected