mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 00:12:04 -04:00
When printing a warning about a value not being a valid decimal dotted
quad, it seems excessive to print "warning" when the message is already logged at log level WARNING by the warn() callback.
This commit is contained in:
parent
da362f71bd
commit
aa05bbdef7
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue