diff options
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_curl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/funcs/func_curl.c b/funcs/func_curl.c index 61b05900b..c7a1c6e42 100644 --- a/funcs/func_curl.c +++ b/funcs/func_curl.c @@ -794,6 +794,7 @@ static struct ast_custom_function acf_curlopt = { .write = acf_curlopt_write, }; +#ifdef TEST_FRAMEWORK AST_TEST_DEFINE(vulnerable_url) { const char *bad_urls [] = { @@ -841,6 +842,7 @@ AST_TEST_DEFINE(vulnerable_url) return res; } +#endif static int unload_module(void) { |