]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
typo.
authorMichael Jerris <mike@jerris.com>
Fri, 11 May 2007 18:21:36 +0000 (18:21 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 11 May 2007 18:21:36 +0000 (18:21 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5155 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/xml_int/mod_xml_curl/mod_xml_curl.c

index 3d52ccbe39618297a06195bbccba41f7b043dec0..0a1fd9f2d7a7637b05ed2a07ae30ebae1d18f056 100644 (file)
@@ -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");
-\r
-               if (binding->disable100continue) {\r
-                       slist = curl_slist_append(slist,"Expect:"); \r
-                       curl_easy_setopt(curl_handle, CURLOPT_HTTPHEADER, slist); \r
+
+               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;
                        }
                }