libidav/config.c

changeset 18
af411868ab9b
parent 6
09ac07345656
equal deleted inserted replaced
17:7cfd36aa005b 18:af411868ab9b
577 const char *stype; 577 const char *stype;
578 if(type == DAV_HTTPS_PROXY) { 578 if(type == DAV_HTTPS_PROXY) {
579 stype = "https"; 579 stype = "https";
580 } else if(type == DAV_HTTP_PROXY) { 580 } else if(type == DAV_HTTP_PROXY) {
581 stype = "http"; 581 stype = "http";
582 } else {
583 fprintf(stderr, "unknown proxy type\n");
584 return 1;
582 } 585 }
583 586
584 if(!proxy) { 587 if(!proxy) {
585 // no xml error - so report this directly via fprintf 588 // no xml error - so report this directly via fprintf
586 fprintf(stderr, "no memory reserved for %s proxy.\n", stype); 589 fprintf(stderr, "no memory reserved for %s proxy.\n", stype);

mercurial