Use smaller CPP error messages

Clang-format wants to split these messages across multiple lines,
which confuses the heck out of coccinelle.
This commit is contained in:
Nick Mathewson
2020-01-10 10:36:51 -05:00
parent e9b663beaf
commit 60f01da78e
5 changed files with 10 additions and 12 deletions
+2 -3
View File
@@ -51,6 +51,7 @@
#include "feature/rend/rendservice.h"
#include "feature/stats/predict_ports.h"
#include "lib/cc/ctassert.h"
#include "lib/compress/compress.h"
#include "lib/crypt_ops/crypto_format.h"
#include "lib/crypt_ops/crypto_util.h"
@@ -1443,9 +1444,7 @@ compare_strs_(const void **a, const void **b)
}
#define CONDITIONAL_CONSENSUS_FPR_LEN 3
#if (CONDITIONAL_CONSENSUS_FPR_LEN > DIGEST_LEN)
#error "conditional consensus fingerprint length is larger than digest length"
#endif
CTASSERT(CONDITIONAL_CONSENSUS_FPR_LEN <= DIGEST_LEN);
/** Return the URL we should use for a consensus download.
*