|
@@ -245,8 +245,10 @@ int xcap_query(const char *uri, xcap_query_params_t *params, char **buf, int *bs
|
|
|
curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, write_data_func);
|
|
|
curl_easy_setopt(handle, CURLOPT_WRITEDATA, &data);
|
|
|
|
|
|
+#ifdef CURLOPT_MUTE
|
|
|
/* be quiet */
|
|
|
curl_easy_setopt(handle, CURLOPT_MUTE, 1);
|
|
|
+#endif /* CURLOPT_MUTE */
|
|
|
|
|
|
/* non-2xx => error */
|
|
|
curl_easy_setopt(handle, CURLOPT_FAILONERROR, 1);
|