]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
When printing a warning about a value not being a valid decimal dotted
authorBrian Wellington <source@isc.org>
Tue, 5 Mar 2002 01:02:06 +0000 (01:02 +0000)
committerBrian Wellington <source@isc.org>
Tue, 5 Mar 2002 01:02:06 +0000 (01:02 +0000)
quad, it seems excessive to print "warning" when the message is already logged
at log level WARNING by the warn() callback.

lib/dns/rdata.c

index d245703a954c7bcbce3c7c904a1b3a453df08d44..7e845aa369f49ec21ffaddd76e5ff3a6e2859fa1 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rdata.c,v 1.161 2002/02/20 03:34:16 marka Exp $ */
+/* $Id: rdata.c,v 1.162 2002/03/05 01:02:06 bwelling Exp $ */
 
 #include <config.h>
 #include <ctype.h>
@@ -196,7 +196,7 @@ getquad(const void *src, struct in_addr *dst,
                const char *name = isc_lex_getsourcename(lexer);
                if (name == NULL)
                        name = "UNKNOWN";
-               (*callbacks->warn)(callbacks, "%s:%lu: warning \"%s\" "
+               (*callbacks->warn)(callbacks, "%s:%lu: \"%s\" "
                                   "is not a decimal dotted quad", name,
                                   isc_lex_getsourceline(lexer), src);
        }