Get correct address type from cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1121 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -282,7 +282,9 @@ store_address(int fd, krb5_address p)
|
|||||||
static krb5_error_code
|
static krb5_error_code
|
||||||
ret_address(int fd, krb5_address *adr)
|
ret_address(int fd, krb5_address *adr)
|
||||||
{
|
{
|
||||||
ret_int16(fd, (int16_t*)&adr->type);
|
int16_t t;
|
||||||
|
ret_int16(fd, &t);
|
||||||
|
adr->type = t;
|
||||||
ret_data(fd, &adr->address);
|
ret_data(fd, &adr->address);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user