diff options
author | Wu Zongyong <wuzongyo@mail.ustc.edu.cn> | 2017-06-25 22:43:44 +0800 |
---|---|---|
committer | Wu Zongyong <wuzongyo@mail.ustc.edu.cn> | 2017-06-25 22:43:44 +0800 |
commit | 2c2f103304a674c2744b2e8eb58b25b9a8d8708c (patch) | |
tree | 71adc3433e0a4d5d6242020f6252fee6517d57bc /libvncserver | |
parent | 7362db632a04188fc3cd294764a14291140740e3 (diff) | |
download | libtdevnc-2c2f103304a674c2744b2e8eb58b25b9a8d8708c.tar.gz libtdevnc-2c2f103304a674c2744b2e8eb58b25b9a8d8708c.zip |
fix: the function should not return a value
Diffstat (limited to 'libvncserver')
-rw-r--r-- | libvncserver/main.c | 2 |
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; } |