diff options
author | dscho <johannes.schindelin@gmx.de> | 2014-09-30 13:44:24 +0200 |
---|---|---|
committer | dscho <johannes.schindelin@gmx.de> | 2014-09-30 13:44:24 +0200 |
commit | 198c855d2af4746219b79581e6b3014de8d556e2 (patch) | |
tree | 00ae37cdb9bd629ff1b3e1bb9212f3189a42d227 | |
parent | bf87073f7a971f30e41af2a140822c4774c01313 (diff) | |
parent | b288722ea658e5960258d2929117987ac5043022 (diff) | |
download | libvncserver-198c855d2af4746219b79581e6b3014de8d556e2.zip libvncserver-198c855d2af4746219b79581e6b3014de8d556e2.tar.gz |
Merge pull request #36 from danielgindi/master
A forgotten `#ifdef WIN32` broke UNIX build.
-rw-r--r-- | libvncserver/rfbserver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c index ad76fbc..f64ea4e 100644 --- a/libvncserver/rfbserver.c +++ b/libvncserver/rfbserver.c @@ -1418,11 +1418,13 @@ rfbBool rfbSendDirContent(rfbClientPtr cl, int length, char *buffer) } } +#ifdef WIN32 if (FindNextFileA(findHandle, &winFindData) == 0) { FindClose(findHandle); findHandle = INVALID_HANDLE_VALUE; } +#endif } #ifdef WIN32 if (findHandle != INVALID_HANDLE_VALUE) |