(krb5_storage_from_fd): initialize host_byteorder

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5961 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-04-15 15:43:01 +00:00
parent a3cfac4221
commit 6dc689c324

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997, 1999 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -69,6 +69,7 @@ krb5_storage_from_fd(int fd)
{
krb5_storage *sp = malloc(sizeof(krb5_storage));
sp->data = malloc(sizeof(fd_storage));
sp->host_byteorder = 0;
FD(sp) = fd;
sp->fetch = fd_fetch;
sp->store = fd_store;