MCPcopy Create free account
hub / github.com/apache/httpd / add_unless_null

Function add_unless_null

server/util_script.c:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88static void add_unless_null(apr_table_t *table, const char *name, const char *val)
89{
90 if (name && val) {
91 apr_table_addn(table, name, val);
92 }
93}
94
95/* Sets variable @name in table @dest from r->subprocess_env if
96 * available, else from the environment, else from @fallback if

Callers 2

ifFunction · 0.85
ap_add_common_varsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected