Changeset: 3cfb97d22266 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3cfb97d22266
Modified Files:
monetdb5/modules/atoms/mcurl.c
Branch: default
Log Message:
CURLgetRequest(): clean-up code for HAVE_CURL vs. not HAVE_CURL
diffs (18 lines):
diff --git a/monetdb5/modules/atoms/mcurl.c b/monetdb5/modules/atoms/mcurl.c
--- a/monetdb5/modules/atoms/mcurl.c
+++ b/monetdb5/modules/atoms/mcurl.c
@@ -138,10 +138,11 @@ mcurl_export str CURLgetRequest(str *ret
str
CURLgetRequest(str *retval, str *url)
{
+#ifdef HAVE_CURL
+ return handle_get_request(retval, url);
+#else
(void)retval;
(void)url;
-#ifdef HAVE_CURL
- return handle_get_request(retval, url);
+ return MAL_SUCCEED;
#endif
- return MAL_SUCCEED;
}
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list