Fixed silly 'off by one' bug

svn path=/trunk/; revision=1885
This commit is contained in:
Eric Kohl 2001-05-05 18:00:33 +00:00
parent d13046ca0f
commit 4304c92e6e

View file

@ -29,7 +29,7 @@ int main(int argc, char *argv[])
return 0; return 0;
} }
cbLength = (ULONG)strlen(lpszTestMessage); cbLength = (ULONG)strlen(lpszTestMessage)+1;
WriteFile(hMailslot, WriteFile(hMailslot,
lpszTestMessage, lpszTestMessage,