diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-08 18:00:07 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-07 13:16:48 +0200 |
commit | 77c63149a3c91798445a56b31624036473e7f570 (patch) | |
tree | b396384a8bf30cb2468b31d56881a51dccdd8baf | |
parent | 21229178bd4703a70f222e102bd2588449ac023b (diff) | |
download | samba-77c63149a3c91798445a56b31624036473e7f570.tar.gz samba-77c63149a3c91798445a56b31624036473e7f570.tar.bz2 samba-77c63149a3c91798445a56b31624036473e7f570.zip |
s3: Remove procid_self() from connections_fetch_entry()
-rw-r--r-- | source3/lib/conn_tdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/conn_tdb.c b/source3/lib/conn_tdb.c index 7f9c74636a..b95b4cd377 100644 --- a/source3/lib/conn_tdb.c +++ b/source3/lib/conn_tdb.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "smbd/globals.h" static struct db_context *connections_db_ctx(bool rw) { @@ -55,7 +56,7 @@ struct db_record *connections_fetch_entry(TALLOC_CTX *mem_ctx, TDB_DATA key; ZERO_STRUCT(ckey); - ckey.pid = procid_self(); + ckey.pid = sconn_server_id(conn->sconn); ckey.cnum = conn->cnum; strlcpy(ckey.name, name, sizeof(ckey.name)); |