[Freeswitch-svn] [commit] r4929 - freeswitch/trunk/src/mod/xml_int/mod_xml_curl
Freeswitch SVN
anthm at freeswitch.org
Fri Apr 13 19:04:24 EDT 2007
Author: anthm
Date: Fri Apr 13 19:04:24 2007
New Revision: 4929
Modified:
freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c
Log:
update
Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c (original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c Fri Apr 13 19:04:24 2007
@@ -104,7 +104,7 @@
}
config_data.name = filename;
- if ((config_data.fd = open(filename, O_CREAT | O_RDWR | O_TRUNC)) > -1) {
+ if ((config_data.fd = open(filename, O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR)) > -1) {
if (!switch_strlen_zero(binding->cred)) {
curl_easy_setopt(curl_handle, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
curl_easy_setopt(curl_handle, CURLOPT_USERPWD, binding->cred);
More information about the Freeswitch-svn
mailing list