diff options
-rw-r--r-- | daemon/digest.c | 1 | ||||
-rw-r--r-- | daemon/misc.c | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/daemon/digest.c b/daemon/digest.c index 93f433b..4b00152 100644 --- a/daemon/digest.c +++ b/daemon/digest.c @@ -29,6 +29,7 @@ #include <ctype.h> #include <syslog.h> +#include <assert.h> /* A globally unique counter used to guarantee uniqueness of nonces */ static unsigned int g_digest_unique = 0; diff --git a/daemon/misc.c b/daemon/misc.c index 49c585e..36af7aa 100644 --- a/daemon/misc.c +++ b/daemon/misc.c @@ -594,11 +594,7 @@ static int uri_cmp_part_n(int n1, int n2, int def) else if(n1 < n2) return -1; - else if(n2 > n1) - return 1; - - /* Not reached */ - ASSERT(0); + return 1; } int ha_uricmp(ha_uri_t* one, ha_uri_t* two) |