xff: HttpXFFGetCfg - allow conf to be NULL

The code fully handles conf being NULL, and we have other functions
where conf can be NULL.
pull/3370/head
Jason Ish 8 years ago committed by Victor Julien
parent 2543930d74
commit 781a7e1089

@ -201,7 +201,7 @@ end:
*/
void HttpXFFGetCfg(ConfNode *conf, HttpXFFCfg *result)
{
BUG_ON(conf == NULL || result == NULL);
BUG_ON(result == NULL);
ConfNode *xff_node = NULL;

Loading…
Cancel
Save