summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2018-08-21 11:06:16 -0700
committerAndreas Schneider <asn@cryptomilk.org>2018-09-07 17:26:17 +0200
commitae7db3e543d412864fafb0d0303c2219ce344526 (patch)
tree3963543ad7e047dbfc292022f0b7574804e45642 /source3/nmbd
parent94852e3544bf2cace3ddba8b9c89d986d77fdab5 (diff)
downloadsamba-ae7db3e543d412864fafb0d0303c2219ce344526.tar.gz
s3: Rename server_event_context() to global_event_context()
This reflects that the event context is also used outside of the server processes. The command used for the rename: find . -name '*.[hc]' -print0 | xargs -0 sed -i 's/server_event_context/global_event_context/' Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 7884ff8dd06..cb4a46d9261 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -46,7 +46,7 @@ time_t StartupTime = 0;
struct tevent_context *nmbd_event_context(void)
{
- return server_event_context();
+ return global_event_context();
}
/**************************************************************************** **
@@ -928,7 +928,7 @@ static bool open_sockets(bool isdaemon, int port)
exit(1);
}
- msg = messaging_init(NULL, server_event_context());
+ msg = messaging_init(NULL, global_event_context());
if (msg == NULL) {
return 1;
}