mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -05:00
simple sanity check
svn path=/icecast/trunk/httpp/; revision=9126
This commit is contained in:
parent
cec0361503
commit
431e4d1ac2
@ -451,6 +451,9 @@ char *httpp_getvar(http_parser_t *parser, char *name)
|
|||||||
http_var_t *found;
|
http_var_t *found;
|
||||||
void *fp;
|
void *fp;
|
||||||
|
|
||||||
|
if (parser == NULL || name == NULL)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
fp = &found;
|
fp = &found;
|
||||||
var.name = name;
|
var.name = name;
|
||||||
var.value = NULL;
|
var.value = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user