summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-05-07 19:46:58 +0200
committerSlávek Banko <[email protected]>2020-05-07 19:47:25 +0200
commit15c4694676d36d5809f7cec431d9061ba440ebca (patch)
treee9bcfe6b0ec5bdc6c1854c44760faa3a09561328
parentf42327e31e2151e9e98a0c484caca85e5254e4c8 (diff)
downloadlibcaldav-15c4694676d36d5809f7cec431d9061ba440ebca.tar.gz
libcaldav-15c4694676d36d5809f7cec431d9061ba440ebca.zip
Fix typos from commit afa497c628eb6a8a96f234db5215d5c4cc0489af.
Signed-off-by: Slávek Banko <[email protected]>
-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;
}
}