summaryrefslogtreecommitdiffstats
path: root/source/lib/debug.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-09-12 06:13:25 +0000
committerAndrew Tridgell <tridge@samba.org>2000-09-12 06:13:25 +0000
commitf1c49ca7ce56bc39259041a71479e84ebf53eeca (patch)
treedd0c0cf65ffd45f9589654669fdb519abaf82091 /source/lib/debug.c
parent2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653 (diff)
downloadsamba-f1c49ca7ce56bc39259041a71479e84ebf53eeca.tar.gz
samba-f1c49ca7ce56bc39259041a71479e84ebf53eeca.tar.xz
samba-f1c49ca7ce56bc39259041a71479e84ebf53eeca.zip
- changed the msg_type to be an int instead of an enum so that it is
easier to add new message types to messages.h without breaking old binaries - added a MSG_FORCE_ELECTION message to force nmbd to hold an election
Diffstat (limited to 'source/lib/debug.c')
-rw-r--r--source/lib/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/debug.c b/source/lib/debug.c
index e67aea7fd3e..1a53f4c2a82 100644
--- a/source/lib/debug.c
+++ b/source/lib/debug.c
@@ -122,7 +122,7 @@ static size_t format_pos = 0;
/****************************************************************************
receive a "set debug level" message
****************************************************************************/
-void debug_message(enum message_type msg_type, pid_t src, void *buf, size_t len)
+void debug_message(int msg_type, pid_t src, void *buf, size_t len)
{
int level;
memcpy(&level, buf, sizeof(int));