Fix typos from commit afa497c628.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/4/head
Slávek Banko 5 years ago
parent f42327e31e
commit 15c4694676
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

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

Loading…
Cancel
Save