diff --git a/src/ascent.c b/src/ascent.c
index 23783862d53a685c8acb67fbca3ac0ebbc1ed070..94a39386b0a45f74cba03ddd237588c3ba8edfb7 100644 (file)
--- a/src/ascent.c
+++ b/src/ascent.c
}
ascent_buffer_fill = 0;
- if (curl_easy_perform (curl) != 0)
+ if (curl_easy_perform (curl) != CURLE_OK)
{
ERROR ("ascent plugin: curl_easy_perform failed: %s",
ascent_curl_error);