From: Ken Raeburn Date: Thu, 26 Apr 2001 11:13:31 +0000 (+0000) Subject: add some comments X-Git-Tag: krb5-1.3-alpha1~1540 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c0aedff4eab6e933fa0ab90cffb0334c647186b9;p=krb5.git add some comments git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13207 dc483132-0cff-0310-8789-dd5450dbe970 --- 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