aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_curl.c
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-08 12:15:06 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-08 12:15:06 +0000
commitfffaf0b978c54a79ff01bd5365fa5b35ca401863 (patch)
tree8b94a9048bc1b7003bd83aca11f995ebedafbf4c /funcs/func_curl.c
parent84fde73d78178d5789ca6c2b5de7387f97dbb75c (diff)
Keep up with shadow warnings. One day I'll actually enable this in the Makefile.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147457 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_curl.c')
-rw-r--r--funcs/func_curl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/funcs/func_curl.c b/funcs/func_curl.c
index e385ed9e1..3a936e704 100644
--- a/funcs/func_curl.c
+++ b/funcs/func_curl.c
@@ -73,12 +73,12 @@ AST_LIST_HEAD_STATIC(global_curl_info, curl_settings);
static void curlds_free(void *data)
{
AST_LIST_HEAD(global_curl_info, curl_settings) *list = data;
- struct curl_settings *cur;
+ struct curl_settings *setting;
if (!list) {
return;
}
- while ((cur = AST_LIST_REMOVE_HEAD(list, list))) {
- free(cur);
+ while ((setting = AST_LIST_REMOVE_HEAD(list, list))) {
+ free(setting);
}
AST_LIST_HEAD_DESTROY(list);
}