projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05c80e2
)
add some comments
author
Ken Raeburn
<raeburn@mit.edu>
Thu, 26 Apr 2001 11:13:31 +0000
(11:13 +0000)
committer
Ken 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
patch
|
blob
|
history
diff --git
a/src/lib/krb5/os/locate_kdc.c
b/src/lib/krb5/os/locate_kdc.c
index c68709f30d4cc7a3721f3905bbf143ef5d9901d7..96a914bac15d8371e48fd7156de1f4fdc594cc15 100644
(file)
--- 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