summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-03 04:22:55 +0000
committerMartin Pool <mbp@samba.org>2002-01-03 04:22:55 +0000
commit9c409a9e397fad052606d7416cbb70f077d52cfd (patch)
tree752404d691e9b2075f617d76f6ca3216ef86f037 /source3/lib
parent91ec6cf19ffffce3caacea4b4489eb20761de4a5 (diff)
downloadsamba-9c409a9e397fad052606d7416cbb70f077d52cfd.tar.gz
samba-9c409a9e397fad052606d7416cbb70f077d52cfd.tar.bz2
samba-9c409a9e397fad052606d7416cbb70f077d52cfd.zip
smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's pretty
boring so far. (This used to be commit 9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/tallocmsg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/lib/tallocmsg.c b/source3/lib/tallocmsg.c
index e98e457880..a0987aba77 100644
--- a/source3/lib/tallocmsg.c
+++ b/source3/lib/tallocmsg.c
@@ -30,9 +30,13 @@
* Respond to a POOL_USAGE message by sending back string form of memory
* usage stats.
**/
-void msg_pool_usage(int msg_type, pid_t pid, void *buf, size_t len)
+void msg_pool_usage(int msg_type, pid_t src_pid, void *buf, size_t len)
{
+ char *reply = "no memory usage info yet";
+
DEBUG(2,("Got POOL_USAGE\n"));
+ message_send_pid(src_pid, MSG_POOL_USAGE,
+ reply, strlen(reply)+1, True);
}
/**