From 15c4694676d36d5809f7cec431d9061ba440ebca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 7 May 2020 19:46:58 +0200 Subject: [PATCH] Fix typos from commit afa497c628eb6a8a96f234db5215d5c4cc0489af. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/modify-caldav-object.c | 4 ++-- 1 file 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; } }