remove ROBUST, this is taken care of by NDEBUG (thanks to Petr Uzel)

This commit is contained in:
Arnout Engelen
2008-12-31 15:52:26 +00:00
parent 8b7a51c57d
commit 3d6ac8bdd3
8 changed files with 47 additions and 82 deletions

View File

@@ -32,12 +32,6 @@
#define DEBUG 0
// if '0', do extra checks and
// assertions. good for finding bugs
// at an early stage of development.
// for production, should be 1.
#define ROBUST 1
#define REVERSEHACK 0
// 2 times: 32 characters, 7 ':''s, a ':12345'.
@@ -95,8 +89,7 @@ public:
int result = inet_pton (AF_INET6, address, &addr6);
if (!ROBUST)
assert (result > 0);
assert (result > 0);
sa_family = AF_INET6;
}