mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
'ap_getword_conf' can not return NULL
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1551010 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -978,11 +978,11 @@ static const char *register_named_block_function_hook(const char *name,
|
|||||||
if (line[0]) {
|
if (line[0]) {
|
||||||
const char *word;
|
const char *word;
|
||||||
word = ap_getword_conf(cmd->temp_pool, &line);
|
word = ap_getword_conf(cmd->temp_pool, &line);
|
||||||
if (word && *word) {
|
if (*word) {
|
||||||
function = apr_pstrdup(cmd->pool, word);
|
function = apr_pstrdup(cmd->pool, word);
|
||||||
}
|
}
|
||||||
word = ap_getword_conf(cmd->temp_pool, &line);
|
word = ap_getword_conf(cmd->temp_pool, &line);
|
||||||
if (word && *word) {
|
if (*word) {
|
||||||
if (!strcasecmp("early", word)) {
|
if (!strcasecmp("early", word)) {
|
||||||
when = AP_LUA_HOOK_FIRST;
|
when = AP_LUA_HOOK_FIRST;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user