summaryrefslogtreecommitdiff
path: root/Source/cmCurl.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-05 22:09:49 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-05 22:09:49 +0200
commit1a9de8035c35cdb3e0501ce2cf2f816e4220bea0 (patch)
tree8d2e7686145b5e03ddb5a0e181f9bb1b78dd47c7 /Source/cmCurl.cxx
parentbfdf1322e7638687c96b323b1df20fd9c08b3044 (diff)
downloadcmake-1a9de8035c35cdb3e0501ce2cf2f816e4220bea0.tar.gz
surround macro arguments with parentheses
Diffstat (limited to 'Source/cmCurl.cxx')
-rw-r--r--Source/cmCurl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCurl.cxx b/Source/cmCurl.cxx
index eec773fdb6..91da2397f3 100644
--- a/Source/cmCurl.cxx
+++ b/Source/cmCurl.cxx
@@ -25,9 +25,9 @@
#endif
#define check_curl_result(result, errstr) \
- if (result != CURLE_OK && result != CURLE_NOT_BUILT_IN) { \
+ if ((result) != CURLE_OK && (result) != CURLE_NOT_BUILT_IN) { \
e += e.empty() ? "" : "\n"; \
- e += errstr; \
+ e += (errstr); \
e += ::curl_easy_strerror(result); \
}