|
|
|
@ -265,7 +265,7 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) {
|
|
|
|
|
else {
|
|
|
|
|
long code;
|
|
|
|
|
res = curl_easy_getinfo(
|
|
|
|
|
cur, CURLINFO_RESPONSE_CODE, &code);
|
|
|
|
|
curl, CURLINFO_RESPONSE_CODE, &code);
|
|
|
|
|
if (code != 204) {
|
|
|
|
|
error->code = code;
|
|
|
|
|
error->str = g_strdup(chunk.memory);
|
|
|
|
@ -511,7 +511,7 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) {
|
|
|
|
|
curl, CURLINFO_RESPONSE_CODE, &code);
|
|
|
|
|
if (code != 204) {
|
|
|
|
|
error->code = code;
|
|
|
|
|
error->str = g_strdup(chnk.memory);
|
|
|
|
|
error->str = g_strdup(chunk.memory);
|
|
|
|
|
result = TRUE;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|