diff --git a/src/sbbs3/sbbsexec.c b/src/sbbs3/sbbsexec.c index 7322658375c6e695e55856298329908749e75103..6fb9fe2b67392f609cd9971e5a0793fffc41b175 100644 --- a/src/sbbs3/sbbsexec.c +++ b/src/sbbs3/sbbsexec.c @@ -259,12 +259,12 @@ __declspec(dllexport) void __cdecl VDDDispatch(void) status->inbuf_full+=RingBufFull(&rdbuf); - /* OUTBUF FULL/SIZZE */ + /* OUTBUF FULL/SIZE */ if(!GetMailslotInfo( wrslot, // mailslot handle &status->outbuf_size, // address of maximum message size &status->outbuf_full, // address of size of next message - NULL, // address of number of messages + &count, // address of number of messages NULL // address of read time-out )) { status->outbuf_full=0; @@ -272,7 +272,7 @@ __declspec(dllexport) void __cdecl VDDDispatch(void) } if(status->outbuf_full==MAILSLOT_NO_MESSAGE) status->outbuf_full=0; - + /* ONLINE */ if(WaitForSingleObject(hungup_event,0)==WAIT_OBJECT_0)