[tor-commits] [tor/master] Try to shorten an #error in address.c

nickm at torproject.org nickm at torproject.org
Thu Mar 5 13:25:49 UTC 2020


commit fbc1eaa0af653b796a794242010f54343141e272
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Feb 6 17:09:20 2020 -0500

    Try to shorten an #error in address.c
---
 src/lib/net/address.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/net/address.c b/src/lib/net/address.c
index ac4350b8f..e968d8a7f 100644
--- a/src/lib/net/address.c
+++ b/src/lib/net/address.c
@@ -97,7 +97,7 @@
  * work correctly. Bail out here if we've found a platform where AF_UNSPEC
  * isn't 0. */
 #if AF_UNSPEC != 0
-#error We rely on AF_UNSPEC being 0. Let us know about your platform, please!
+#error "We rely on AF_UNSPEC being 0. Yours isn't. Please tell us more!"
 #endif
 CTASSERT(AF_UNSPEC == 0);
 





More information about the tor-commits mailing list