From c0aedff4eab6e933fa0ab90cffb0334c647186b9 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 26 Apr 2001 11:13:31 +0000 Subject: [PATCH] add some comments git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13207 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/locate_kdc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index c68709f30..96a914bac 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -148,6 +148,8 @@ grow_list (struct addrlist *lp, int nmore) size_t newsize = newspace * sizeof (struct addrlist); struct sockaddr **newaddrs; + /* NULL check a concession to SunOS4 compatibility for now; not + required for pure ANSI support. */ if (lp->addrs) newaddrs = realloc (lp->addrs, newsize); else -- 2.26.2