summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-07-07 14:45:32 +0200
committerGitHub <noreply@github.com>2017-07-07 14:45:32 +0200
commit1155edec9ecc8eab112d7131f844a911d4aeca8e (patch)
tree71adc3433e0a4d5d6242020f6252fee6517d57bc
parent7362db632a04188fc3cd294764a14291140740e3 (diff)
parent2c2f103304a674c2744b2e8eb58b25b9a8d8708c (diff)
downloadlibtdevnc-1155edec9ecc8eab112d7131f844a911d4aeca8e.tar.gz
libtdevnc-1155edec9ecc8eab112d7131f844a911d4aeca8e.zip
Merge pull request #188 from Cordius/master
fix: the function should not return a value
-rw-r--r--libvncserver/main.c2
1 files changed, 1 insertions, 1 deletions
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;
}