Less Windowsy
This commit is contained in:
parent
3e02d05e25
commit
30fe81cd56
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmd, int nShow)
|
|||
startListening();
|
||||
|
||||
while(1) {
|
||||
ZeroMemory(buffer, sizeof(struct packet));
|
||||
//ZeroMemory(buffer, sizeof(struct packet));
|
||||
memset(&buffer, 0, sizeof(packet));
|
||||
|
||||
while(receiveBuffer(sizeof(struct packet)) <= 0) {
|
||||
// Waiting
|
||||
|
|
Loading…
Reference in a new issue