70 } |
70 } |
71 |
71 |
72 xmlGenericErrorFunc fnc = xmlerrorfnc; |
72 xmlGenericErrorFunc fnc = xmlerrorfnc; |
73 initGenericErrorDefaultFunc(&fnc); |
73 initGenericErrorDefaultFunc(&fnc); |
74 ctx = dav_context_new(); |
74 ctx = dav_context_new(); |
|
75 ctx->key_input = util_key_input; |
75 load_config(ctx); |
76 load_config(ctx); |
76 |
77 |
77 // copy proxy config |
78 // copy proxy config |
78 memcpy(ctx->http_proxy, get_http_proxy(), sizeof(Proxy)); |
79 memcpy(ctx->http_proxy, get_http_proxy(), sizeof(Proxy)); |
79 memcpy(ctx->https_proxy, get_https_proxy(), sizeof(Proxy)); |
80 memcpy(ctx->https_proxy, get_https_proxy(), sizeof(Proxy)); |