diff options
author | Volker Lendecke <vl@samba.org> | 2010-03-16 22:18:52 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-03-16 22:35:41 +0100 |
commit | 276b1aa1891df2a31e8c65b04f41b0a0ebb57335 (patch) | |
tree | c499fa51bb71ffac823ba5547f728b8a751aed7d /source3/include/proto.h | |
parent | 13a278c1b901cadef7e09d1dc6a89d935ebb73ea (diff) | |
download | samba-276b1aa1891df2a31e8c65b04f41b0a0ebb57335.tar.gz samba-276b1aa1891df2a31e8c65b04f41b0a0ebb57335.tar.bz2 samba-276b1aa1891df2a31e8c65b04f41b0a0ebb57335.zip |
s3: Make login_cache_read take a pointer, avoid a malloc
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index f2ba8e3b24..68a3e5cf7b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4409,7 +4409,7 @@ char* get_string_param( const char* param ); bool login_cache_init(void); bool login_cache_shutdown(void); -struct login_cache * login_cache_read(struct samu *sampass); +bool login_cache_read(struct samu *sampass, struct login_cache *entry); bool login_cache_write(const struct samu *sampass, struct login_cache entry); bool login_cache_delentry(const struct samu *sampass); |