- returning it will stop config processing, replace the return code with -1 in such case
@@ -228,5 +228,5 @@ int http_query(struct sip_msg* _m, char* _url, char* _dst, char* _post, char* _h
curl_easy_cleanup(curl);
pkg_free(stream.buf);
- return stat;
+ return (stat!=0)?stat:-1;
}