summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clidgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/libsmb/clidgram.c')
-rw-r--r--source/libsmb/clidgram.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/libsmb/clidgram.c b/source/libsmb/clidgram.c
index dfb613238f6..a983f485ab4 100644
--- a/source/libsmb/clidgram.c
+++ b/source/libsmb/clidgram.c
@@ -101,8 +101,9 @@ BOOL cli_send_mailslot(BOOL unique, const char *mailslot,
DEBUGADD(4,("to %s IP %s\n", nmb_namestr(&dgram->dest_name),
inet_ntoa(dest_ip)));
- return message_send_pid(pid_to_procid(nmbd_pid), MSG_SEND_PACKET, &p, sizeof(p),
- False);
+ return NT_STATUS_IS_OK(message_send_pid(pid_to_procid(nmbd_pid),
+ MSG_SEND_PACKET, &p, sizeof(p),
+ False));
}
/*