From 77c63149a3c91798445a56b31624036473e7f570 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 8 Jul 2010 18:00:07 +0200 Subject: s3: Remove procid_self() from connections_fetch_entry() --- source3/lib/conn_tdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') 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)); -- cgit