summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-06 05:45:07 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-06 05:45:07 +0000
commit1772584c35189cba517c26bbde3205447f875952 (patch)
treef946f99dc4eac6bf8400bafcd64e6d2d357963e9 /source3/libsmb
parentb31055fa74571b9dadd209633ac4547f4ac8368d (diff)
downloadsamba-1772584c35189cba517c26bbde3205447f875952.tar.gz
samba-1772584c35189cba517c26bbde3205447f875952.tar.bz2
samba-1772584c35189cba517c26bbde3205447f875952.zip
actually obey the "use mmap" smb.conf option
(This used to be commit b36c98036bcbaa5545c9637cb632361122033cfd)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/unexpected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c
index 109e2b454a..41249aba56 100644
--- a/source3/libsmb/unexpected.c
+++ b/source3/libsmb/unexpected.c
@@ -151,7 +151,7 @@ struct packet_struct *receive_unexpected(enum packet_type packet_type, int id,
{
TDB_CONTEXT *tdb2;
- tdb2 = tdb_open(lock_path("unexpected.tdb"), 0, 0, O_RDONLY, 0);
+ tdb2 = tdb_open_log(lock_path("unexpected.tdb"), 0, 0, O_RDONLY, 0);
if (!tdb2) return NULL;
matched_packet = NULL;