提交 f00642d7 authored 作者: Michael Jerris's avatar Michael Jerris

typo.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5155 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0272fcb2
......@@ -117,10 +117,10 @@ static switch_xml_t xml_url_fetch(const char *section, const char *tag_name, con
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, file_callback);
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *) &config_data);
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "freeswitch-xml/1.0");
if (binding->disable100continue) {
slist = curl_slist_append(slist,"Expect:");
curl_easy_setopt(curl_handle, CURLOPT_HTTPHEADER, slist);
if (binding->disable100continue) {
slist = curl_slist_append(slist,"Expect:");
curl_easy_setopt(curl_handle, CURLOPT_HTTPHEADER, slist);
}
curl_easy_perform(curl_handle);
......@@ -189,7 +189,7 @@ static switch_status_t do_config(void)
}
} else if (!strcasecmp(var, "gateway-credentials")) {
bind_cred = val;
} else if (!strcasecmp(var, "disable-100-continue ") && switch_true(val)) {
} else if (!strcasecmp(var, "disable-100-continue") && switch_true(val)) {
disable100continue = 1;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论