mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
use ISC_SOCKADDR_FORMATSIZE
This commit is contained in:
parent
1928be262c
commit
9de6daa628
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: client.c,v 1.135 2000/12/02 05:57:16 gson Exp $ */
|
||||
/* $Id: client.c,v 1.136 2000/12/19 19:21:39 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@ -2036,7 +2036,7 @@ ns_client_logv(ns_client_t *client, isc_logcategory_t *category,
|
||||
isc_logmodule_t *module, int level, const char *fmt, va_list ap)
|
||||
{
|
||||
char msgbuf[2048];
|
||||
char peerbuf[256];
|
||||
char peerbuf[ISC_SOCKADDR_FORMATSIZE];
|
||||
|
||||
vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user