Merge pull request #188 from Cordius/master

fix: the function should not return a value
pull/3/head
Christian Beier 7 years ago committed by GitHub
commit 1155edec9e

@ -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