fix: the function should not return a value

pull/3/head
Wu Zongyong 7 years ago
parent 7362db632a
commit 2c2f103304

@ -1066,7 +1066,7 @@ void rfbInitServer(rfbScreenInfoPtr screen)
int i=WSAStartup(MAKEWORD(2,0),&trash); int i=WSAStartup(MAKEWORD(2,0),&trash);
if(i!=0) { if(i!=0) {
rfbErr("Couldn't init Windows Sockets\n"); rfbErr("Couldn't init Windows Sockets\n");
return 0; return;
} }
WSAinitted=TRUE; WSAinitted=TRUE;
} }

Loading…
Cancel
Save