diff options
author | Jeremy Allison <jra@samba.org> | 2002-01-09 04:13:30 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-01-09 04:13:30 +0000 |
commit | ec71f1732b6b27bd2d65b250a6f3720a235dc38d (patch) | |
tree | baadda8a491b42ded94171e379cb832c5fcc0ccc /source/intl | |
parent | 1f12e310e5d8b01d3d29132d1bb1f41196165f7f (diff) | |
download | samba-ec71f1732b6b27bd2d65b250a6f3720a235dc38d.tar.gz samba-ec71f1732b6b27bd2d65b250a6f3720a235dc38d.tar.xz samba-ec71f1732b6b27bd2d65b250a6f3720a235dc38d.zip |
Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endian
in tdb's. All except winbindd_idmap.... Hmmmmmm.
Jeremy.
Diffstat (limited to 'source/intl')
-rw-r--r-- | source/intl/lang_tdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/intl/lang_tdb.c b/source/intl/lang_tdb.c index 6f9ff9dd652..7ebcc9e85e6 100644 --- a/source/intl/lang_tdb.c +++ b/source/intl/lang_tdb.c @@ -144,11 +144,11 @@ BOOL lang_tdb_init(const char *lang) free(path); - loadtime = tdb_fetch_int(tdb, "/LOADTIME/"); + loadtime = tdb_fetch_int32(tdb, "/LOADTIME/"); if (loadtime == -1 || loadtime < st.st_mtime) { load_msg(msg_path); - tdb_store_int(tdb, "/LOADTIME/", (int)time(NULL)); + tdb_store_int32(tdb, "/LOADTIME/", (int)time(NULL)); } free(msg_path); |