From b755dbf318874e4dadc5f4e4c7405e90dc4eeb2e Mon Sep 17 00:00:00 2001 From: Tobias Grimm Date: Sat, 23 Jan 2016 18:38:44 +0100 Subject: [PATCH] C++11 requires a mandatory space when concatenating string literals --- common.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/common.h b/common.h index ac9ea20..c85404b 100644 --- a/common.h +++ b/common.h @@ -48,15 +48,15 @@ esyslog("curl_easy_perform() [%s,%d] failed: %s (%d)", __FILE__, __LINE__, curl_easy_strerror(res), res); \ } -#define ERROR_IF_FUNC(exp, errstr, func, ret) \ - do { \ - if (exp) { \ - char tmp[64]; \ - esyslog("[%s,%d]: "errstr": %s", __FILE__, __LINE__, \ - strerror_r(errno, tmp, sizeof(tmp))); \ - func; \ - ret; \ - } \ +#define ERROR_IF_FUNC(exp, errstr, func, ret) \ + do { \ + if (exp) { \ + char tmp[64]; \ + esyslog("[%s,%d]: " errstr ": %s", __FILE__, __LINE__, \ + strerror_r(errno, tmp, sizeof(tmp))); \ + func; \ + ret; \ + } \ } while (0)