diff --git a/libvncserver/main.c b/libvncserver/main.c index 95c3da5..05b4b13 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -1066,7 +1066,7 @@ void rfbInitServer(rfbScreenInfoPtr screen) int i=WSAStartup(MAKEWORD(2,0),&trash); if(i!=0) { rfbErr("Couldn't init Windows Sockets\n"); - return 0; + return; } WSAinitted=TRUE; }