mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-11 23:03:17 -05:00
silence compiler
This commit is contained in:
parent
3ca9bffc1d
commit
a449ffac7f
1 changed files with 4 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#if !defined(lint) && !defined(SABER)
|
||||
static const char rcsid[] = "$Id: res_findzonecut.c,v 1.7 2004/03/18 02:58:01 marka Exp $";
|
||||
static const char rcsid[] = "$Id: res_findzonecut.c,v 1.8 2004/09/16 07:08:43 marka Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
|
|
@ -360,8 +360,9 @@ get_soa(res_state statp, const char *dname, ns_class class, int opts,
|
|||
abort();
|
||||
}
|
||||
if (strlen(t) + 1 > zsize) {
|
||||
DPRINTF(("get_soa: zname(%d) too small (%d)",
|
||||
zsize, strlen(t) + 1));
|
||||
DPRINTF(("get_soa: zname(%lu) too small (%lu)",
|
||||
(unsigned long)zsize,
|
||||
(unsigned long)strlen(t) + 1));
|
||||
errno = EMSGSIZE;
|
||||
goto cleanup;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue