X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fgroupdav_put.c;h=31074c9d8522ffada0410e4d9ac3403c71b5c85a;hb=95a9d30497849472db7135888eb2df1fc4a721b9;hp=bacd77e0d3b12c1c0e7e0bfca9bbf375e3a214da;hpb=dcfbe351282f76cc76f8a855aace704793c09377;p=citadel.git diff --git a/webcit/groupdav_put.c b/webcit/groupdav_put.c index bacd77e0d..31074c9d8 100644 --- a/webcit/groupdav_put.c +++ b/webcit/groupdav_put.c @@ -38,7 +38,7 @@ void groupdav_put_bigics(void) return; } - serv_write(WCC->upload, WCC->upload_length); + serv_putbuf(WCC->upload); serv_printf("\n000"); /* Report success and not much else. */ @@ -152,7 +152,7 @@ void groupdav_put(void) /* Send the content to the Citadel server */ serv_printf("Content-type: %s\n\n", WCC->upload_content_type); - serv_puts(WCC->upload); + serv_putbuf(WCC->upload); serv_puts("\n000"); /* Fetch the reply from the Citadel server */