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

Function check_macro_use_arguments

modules/core/mod_macro.c:291–302  ·  view source on GitHub ↗

warn about empty strings in array. could be legitimate. */

Source from the content-addressed store, hash-verified

289 warn about empty strings in array. could be legitimate.
290*/
291static void check_macro_use_arguments(const char *where,
292 const apr_array_header_t * array)
293{
294 char **tab = (char **) array->elts;
295 int i;
296 for (i = 0; i < array->nelts; i++) {
297 if (empty_string_p(tab[i])) {
298 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, APLOGNO(02798)
299 "%s: empty argument #%d", where, i + 1);
300 }
301 }
302}
303
304/******************************************************** SUBSTITUTION UTILS */
305

Callers 1

use_macroFunction · 0.85

Calls 1

ap_log_errorFunction · 0.50

Tested by

no test coverage detected