diff options
Diffstat (limited to 'src/modify-caldav-object.c')
-rw-r--r-- | src/modify-caldav-object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modify-caldav-object.c b/src/modify-caldav-object.c index 026d317..ff03256 100644 --- a/src/modify-caldav-object.c +++ b/src/modify-caldav-object.c @@ -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; } } |