+Thu Feb 15 10:57:27 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * c_localaddr.c: Set magic number in krb5_address.
+
Fri Oct 6 22:00:48 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in: Remove ##DOS!include of config/windows.in.
address = (krb5_address *)
malloc (sizeof(krb5_address));
if (address) {
+ address->magic = KV5M_ADDRESS;
address->addrtype = ADDRTYPE_INET;
address->length = sizeof(struct in_addr);
address->contents = (unsigned char *)malloc(address->length);
address = (krb5_address *)
malloc (sizeof (krb5_address) + sizeof (struct ns_addr));
if (address) {
+ address->magic = KV5M_ADDRESS;
address->addrtype = ADDRTYPE_XNS;
/* XXX should we perhaps use ns_host instead? */
free (*addr);
return ENOMEM;
}
+ (*addr)[0]->magic = KV5M_ADDRESS;
(*addr)[0]->addrtype = hostrec->h_addrtype;
(*addr)[0]->length = hostrec->h_length;
(*addr)[0]->contents = (unsigned char *)malloc((*addr)[0]->length);