summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-26 12:14:34 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-10-26 12:14:34 +0100
commitf3e583affdeeb85706dcb3c1a971028b536bc667 (patch)
treed401f1704bf5e3e9a2691d504f197d944b4c2327 /src
parent0bd1b4969720052e94e5834d8a3034032b930b41 (diff)
downloadlibcarddav-f3e583affdeeb85706dcb3c1a971028b536bc667.tar.gz
libcarddav-f3e583affdeeb85706dcb3c1a971028b536bc667.zip
Fix potential crash due to invalid return valuer14.0.0
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'src')
-rw-r--r--src/get-carddav-report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/get-carddav-report.c b/src/get-carddav-report.c
index 971f6d1..b44fd2c 100644
--- a/src/get-carddav-report.c
+++ b/src/get-carddav-report.c
@@ -86,7 +86,7 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error)
error->str = g_strdup("Could not initialize libcurl");
g_free(settings->file);
settings->file = NULL;
- return TRUE;
+ return NULL;
}
http_header = curl_slist_append(http_header,