diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-04-25 08:03:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:29 -0500 |
commit | a1d47f3e999d2a13d77217239c12735a3ef74e29 (patch) | |
tree | d156caf9888f922b3b34a60645ff7bacbd56768c /source3/libsmb | |
parent | 968f265c1bcd07ae49129eb559acb7c628db3632 (diff) | |
download | samba-a1d47f3e999d2a13d77217239c12735a3ef74e29.tar.gz samba-a1d47f3e999d2a13d77217239c12735a3ef74e29.tar.xz samba-a1d47f3e999d2a13d77217239c12735a3ef74e29.zip |
r15227: Fix a valgrind error. We are marshalling here, not unmarshalling.
Jeremy, can you check this? This was part of your -O6 on 64bit sweep.
Volker
(This used to be commit 4fa5dbcc8dd1f150664e1241b22e3f048d816001)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/samlogon_cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c index cc1c6bd6b24..7a6d9a96ad0 100644 --- a/source3/libsmb/samlogon_cache.c +++ b/source3/libsmb/samlogon_cache.c @@ -151,10 +151,9 @@ BOOL netsamlogon_cache_store( const char *username, NET_USER_INFO_3 *user ) prs_init( &ps, RPC_MAX_PDU_FRAG_LEN, mem_ctx, MARSHALL); { - uint32 ts; + uint32 ts = (uint32)t; if ( !prs_uint32( "timestamp", &ps, 0, &ts ) ) return False; - t = (time_t)ts; } if ( net_io_user_info3("", user, &ps, 0, 3, 0) ) |