summaryrefslogtreecommitdiffstats
path: root/src/modify-caldav-object.c
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-07 19:46:58 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-07 19:48:09 +0200
commitf8905364d935bd4cded5ec621acb22cd1de1a81c (patch)
tree1946d6c40d019f4f9931a2cd84ab10189eb48f5e /src/modify-caldav-object.c
parentfefefe8785a5fc4c01a3d482e6bdb4ad9740b858 (diff)
downloadlibcaldav-f8905364d935bd4cded5ec621acb22cd1de1a81c.tar.gz
libcaldav-f8905364d935bd4cded5ec621acb22cd1de1a81c.zip
Fix typos from commit afa497c628eb6a8a96f234db5215d5c4cc0489af.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 15c4694676d36d5809f7cec431d9061ba440ebca)
Diffstat (limited to 'src/modify-caldav-object.c')
-rw-r--r--src/modify-caldav-object.c4
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;
}
}