(mem_store): make it write-compatible
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8271 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -53,7 +53,7 @@ mem_fetch(krb5_storage *sp, void *data, size_t size)
|
||||
}
|
||||
|
||||
static ssize_t
|
||||
mem_store(krb5_storage *sp, void *data, size_t size)
|
||||
mem_store(krb5_storage *sp, const void *data, size_t size)
|
||||
{
|
||||
mem_storage *s = (mem_storage*)sp->data;
|
||||
if(size > s->base + s->size - s->ptr)
|
||||
|
Reference in New Issue
Block a user