aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/fetch.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-03-07 19:28:03 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-03-07 19:28:03 +0000
commit78703918aa05a0276032c188dd6e4d03b8466323 (patch)
tree5f1f527b17d26d19ff4a5bffeab43ef59710cccf /src/pluto/fetch.c
parentbdfff62db9a98a57199f342d05d936aa72be776a (diff)
downloadstrongswan-78703918aa05a0276032c188dd6e4d03b8466323.tar.bz2
strongswan-78703918aa05a0276032c188dd6e4d03b8466323.tar.xz
http post fetching using libcurl implemented
Diffstat (limited to 'src/pluto/fetch.c')
-rw-r--r--src/pluto/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/fetch.c b/src/pluto/fetch.c
index 4bfb6031b..d9798284d 100644
--- a/src/pluto/fetch.c
+++ b/src/pluto/fetch.c
@@ -827,7 +827,7 @@ init_fetch(void)
#ifdef LIBCURL
/* init curl */
status = curl_global_init(CURL_GLOBAL_NOTHING);
- if (status != 0)
+ if (status != CURLE_OK)
{
plog("libcurl could not be initialized, status = %d", status);
}