diff options
Diffstat (limited to 'source3/lib/messages.c')
-rw-r--r-- | source3/lib/messages.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c index 6f6d99c8ec..19496bd426 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -73,7 +73,6 @@ void ping_message(int msg_type, pid_t src, void *buf, size_t len) DEBUG(1,("INFO: Received PING message from PID %d\n",src)); message_send_pid(src, MSG_PONG, buf, len, True); } - /**************************************************************************** return current debug level ****************************************************************************/ @@ -83,7 +82,7 @@ void debuglevel_message(int msg_type, pid_t src, void *buf, size_t len) DEBUG(1,("INFO: Received REQ_DEBUGLEVEL message from PID %d\n",src)); level = DEBUGLEVEL; - message_send_pid(src, MSG_DEBUGLEVEL, &level, sizeof(int), True); + message_send_pid(src, MSG_DEBUGLEVEL, DEBUGLEVEL_CLASS, sizeof(DEBUGLEVEL_CLASS), True); } /**************************************************************************** |