aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_config_curl.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-09 22:51:59 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-09 22:51:59 +0000
commite8556a10e2439e9ec26a2de6d8877e9767ce1e7b (patch)
treea2740180dd4aac2db0c96b53467d9c9e329df7ff /res/res_config_curl.c
parent3f654c0868447eb00e24870f1a8f5798ad74199a (diff)
Expand RQ_INTEGER type out to multiple types, one for each precision
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121367 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_config_curl.c')
-rw-r--r--res/res_config_curl.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/res/res_config_curl.c b/res/res_config_curl.c
index e0e1b0648..722b08e9d 100644
--- a/res/res_config_curl.c
+++ b/res/res_config_curl.c
@@ -430,7 +430,16 @@ static int require_curl(const char *url, const char *unused, va_list ap)
ast_uri_encode(elm, field, sizeof(field), EncodeSpecialChars);
ast_str_append(&query, 0, "%s=%s%%3A%d", field,
type == RQ_CHAR ? "char" :
- type == RQ_INTEGER ? "integer" :
+ type == RQ_INTEGER1 ? "integer1" :
+ type == RQ_UINTEGER1 ? "uinteger1" :
+ type == RQ_INTEGER2 ? "integer2" :
+ type == RQ_UINTEGER2 ? "uinteger2" :
+ type == RQ_INTEGER3 ? "integer3" :
+ type == RQ_UINTEGER3 ? "uinteger3" :
+ type == RQ_INTEGER4 ? "integer4" :
+ type == RQ_UINTEGER4 ? "uinteger4" :
+ type == RQ_INTEGER8 ? "integer8" :
+ type == RQ_UINTEGER8 ? "uinteger8" :
type == RQ_DATE ? "date" :
type == RQ_DATETIME ? "datetime" :
type == RQ_FLOAT ? "float" :