summaryrefslogtreecommitdiffstats
path: root/source/smbd/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/message.c')
-rw-r--r--source/smbd/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/message.c b/source/smbd/message.c
index 0097b15b8b4..8acd4e83eec 100644
--- a/source/smbd/message.c
+++ b/source/smbd/message.c
@@ -64,7 +64,7 @@ static void msg_deliver(void)
if(msgpos > 0) {
msgbuf[msgpos] = '\0'; /* Ensure null terminated. */
- pstrcpy(msgbuf,dos_to_unix(msgbuf,False));
+ pstrcpy(msgbuf,dos_to_unix_static(msgbuf));
}
for (i=0;i<msgpos;) {