dav/sync.c

changeset 228
c0175372c35d
parent 227
bf485439222a
child 233
d8042cede66c
equal deleted inserted replaced
227:bf485439222a 228:c0175372c35d
80 80
81 if(loadcfg) { 81 if(loadcfg) {
82 xmlGenericErrorFunc fnc = xmlerrorfnc; 82 xmlGenericErrorFunc fnc = xmlerrorfnc;
83 initGenericErrorDefaultFunc(&fnc); 83 initGenericErrorDefaultFunc(&fnc);
84 ctx = dav_context_new(); 84 ctx = dav_context_new();
85 ctx->key_input = util_key_input;
86 load_config(ctx); 85 load_config(ctx);
87 86
88 // copy proxy config 87 // copy proxy config
89 memcpy(ctx->http_proxy, get_http_proxy(), sizeof(Proxy)); 88 memcpy(ctx->http_proxy, get_http_proxy(), sizeof(Proxy));
90 memcpy(ctx->https_proxy, get_https_proxy(), sizeof(Proxy)); 89 memcpy(ctx->https_proxy, get_https_proxy(), sizeof(Proxy));

mercurial