summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-10 17:00:45 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-10 23:08:49 +0200
commit93126b3315a70d1beaeaa64d05cdbfb167acbabe (patch)
treefd7555f136bbc9c7b7f96b8cc753c0bfe0f9ed58 /source4/nbt_server/wins
parent6280725b47391c69dd7db1133c15bd0ce7418da6 (diff)
downloadsamba-93126b3315a70d1beaeaa64d05cdbfb167acbabe.tar.gz
samba-93126b3315a70d1beaeaa64d05cdbfb167acbabe.tar.bz2
samba-93126b3315a70d1beaeaa64d05cdbfb167acbabe.zip
samdb: Add flags argument to samdb_connect().
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r--source4/nbt_server/wins/winsdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c
index a0fe87dc68..f62cce9205 100644
--- a/source4/nbt_server/wins/winsdb.c
+++ b/source4/nbt_server/wins/winsdb.c
@@ -1013,7 +1013,7 @@ struct winsdb_handle *winsdb_connect(TALLOC_CTX *mem_ctx,
h->ldb = ldb_wrap_connect(h, ev_ctx, lp_ctx, lock_path(h, lp_ctx, lpcfg_wins_url(lp_ctx)),
NULL, NULL, flags);
- if (!h->ldb) goto failed;
+ if (!h->ldb) goto failed;
h->caller = caller;
h->hook_script = lpcfg_wins_hook(lp_ctx);