summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-15 15:49:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:07 -0500
commit8c3f8e5697f29f1a9829298e0561ff7305b62082 (patch)
tree84540e7fa44955f13c55ee97b2e099479dbc58af /source3/smbd
parent6669aa051e6e2e3cb79cb4e4b97c2dcd4e31d02b (diff)
downloadsamba-8c3f8e5697f29f1a9829298e0561ff7305b62082.tar.gz
samba-8c3f8e5697f29f1a9829298e0561ff7305b62082.tar.bz2
samba-8c3f8e5697f29f1a9829298e0561ff7305b62082.zip
r22911: Pass a messaging_context to message_send_all
(This used to be commit cc92ce665dcfe9054d09429219883b18a4cab090)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c3
-rw-r--r--source3/smbd/statcache.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index b235fd1698..fae6312080 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -1894,7 +1894,8 @@ static BOOL api_RNetShareAdd(connection_struct *conn,uint16 vuid,
goto error_exit;
} else {
SAFE_FREE(command);
- message_send_all(MSG_SMB_CONF_UPDATED, NULL, 0,
+ message_send_all(smbd_messaging_context(),
+ MSG_SMB_CONF_UPDATED, NULL, 0,
False, NULL);
}
} else {
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index 7c2c968d8d..1d6646257a 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -292,7 +292,8 @@ BOOL stat_cache_lookup(connection_struct *conn, pstring name, pstring dirpath,
void send_stat_cache_delete_message(const char *name)
{
#ifdef DEVELOPER
- message_send_all(MSG_SMB_STAT_CACHE_DELETE,
+ message_send_all(smbd_messaging_context(),
+ MSG_SMB_STAT_CACHE_DELETE,
name,
strlen(name)+1,
True,