53 xmlGenericErrorFunc fnc = xmlerrorfnc; |
53 xmlGenericErrorFunc fnc = xmlerrorfnc; |
54 initGenericErrorDefaultFunc(&fnc); |
54 initGenericErrorDefaultFunc(&fnc); |
55 load_config(); |
55 load_config(); |
56 ctx = dav_context_new(); |
56 ctx = dav_context_new(); |
57 dav_add_namespace(ctx, "U", "http://www.uap-core.de/"); |
57 dav_add_namespace(ctx, "U", "http://www.uap-core.de/"); |
|
58 |
|
59 memcpy(ctx->http_proxy, get_http_proxy(), sizeof(Proxy)); |
|
60 memcpy(ctx->https_proxy, get_https_proxy(), sizeof(Proxy)); |
58 |
61 |
59 if(argc < 2) { |
62 if(argc < 2) { |
60 fprintf(stderr, "Missing command\n"); |
63 fprintf(stderr, "Missing command\n"); |
61 print_usage(argv[0]); |
64 print_usage(argv[0]); |
62 return -1; |
65 return -1; |