summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 9d857440b8..eb18219992 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -615,6 +615,8 @@ static int switch_message(int type,char *inbuf,char *outbuf,int size,int bufsize
int outsize = 0;
extern int global_smbpid;
+ type &= 0xff;
+
if (pid == (pid_t)-1)
pid = sys_getpid();