add some comments
authorKen Raeburn <raeburn@mit.edu>
Thu, 26 Apr 2001 11:13:31 +0000 (11:13 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 26 Apr 2001 11:13:31 +0000 (11:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13207 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/locate_kdc.c

index c68709f30d4cc7a3721f3905bbf143ef5d9901d7..96a914bac15d8371e48fd7156de1f4fdc594cc15 100644 (file)
@@ -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