From 3ae5393d7ea7523ee082ab9f684dc702019e24f2 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 28 Apr 2000 16:29:48 +0000 Subject: [PATCH] Update contract of dns_name_rdatacompare to return < 0, 0, > 0 instead of -1, 0, 1. --- lib/dns/include/dns/name.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/include/dns/name.h b/lib/dns/include/dns/name.h index 119680958c..bce10965c5 100644 --- a/lib/dns/include/dns/name.h +++ b/lib/dns/include/dns/name.h @@ -477,9 +477,9 @@ dns_name_rdatacompare(dns_name_t *name1, dns_name_t *name2); * dns_name_countlabels(name2) > 0 * * Returns: - * -1 'name1' is less than 'name2' + * < 0 'name1' is less than 'name2' * 0 'name1' is equal to 'name2' - * 1 'name1' is greater than 'name2' + * > 0 'name1' is greater than 'name2' */ isc_boolean_t