MCPcopy Create free account
hub / github.com/acl-dev/acl / add_str

Function add_str

app/master/daemon/master/master_warning.cpp:45–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45static void add_str(ACL_VSTRING *buf, const char *name, const char *value)
46{
47 if (ACL_VSTRING_LEN(buf) > 0)
48 acl_vstring_strcat(buf, "&");
49 acl_vstring_strcat(buf, name);
50 acl_vstring_strcat(buf, "=");
51
52 if (value && *value) {
53 char *tmp = acl_url_encode(value, NULL);
54 acl_vstring_strcat(buf, tmp);
55 acl_myfree(tmp);
56 }
57}
58
59static void add_num(ACL_VSTRING *buf, const char *name, int value)
60{

Callers 2

add_numFunction · 0.85
notify_threadFunction · 0.85

Calls 2

acl_vstring_strcatFunction · 0.85
acl_url_encodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…