| 1076 char *ltheader = cx_asprintf("If: <%s> (<%s>)", url, lock).ptr; |
1076 char *ltheader = cx_asprintf("If: <%s> (<%s>)", url, lock).ptr; |
| 1077 headers = curl_slist_append(headers, ltheader); |
1077 headers = curl_slist_append(headers, ltheader); |
| 1078 free(ltheader); |
1078 free(ltheader); |
| 1079 } |
1079 } |
| 1080 //cxstring deststr = ucx_sprintf("Destination: %s", dest); |
1080 //cxstring deststr = ucx_sprintf("Destination: %s", dest); |
| 1081 cxmutstr deststr = cx_strcat(2, cx_str("Destination: "), cx_str(dest)); |
1081 cxmutstr deststr = cx_strcat(CX_NULLSTR, 2, cx_str("Destination: "), cx_str(dest)); |
| 1082 headers = curl_slist_append(headers, deststr.ptr); |
1082 headers = curl_slist_append(headers, deststr.ptr); |
| 1083 if(override) { |
1083 if(override) { |
| 1084 headers = curl_slist_append(headers, "Overwrite: T"); |
1084 headers = curl_slist_append(headers, "Overwrite: T"); |
| 1085 } else { |
1085 } else { |
| 1086 headers = curl_slist_append(headers, "Overwrite: F"); |
1086 headers = curl_slist_append(headers, "Overwrite: F"); |