Commit 198c855d authored by dscho's avatar dscho

Merge pull request #36 from danielgindi/master

A forgotten `#ifdef WIN32` broke UNIX build.
parents bf87073f b288722e
...@@ -1418,11 +1418,13 @@ rfbBool rfbSendDirContent(rfbClientPtr cl, int length, char *buffer) ...@@ -1418,11 +1418,13 @@ rfbBool rfbSendDirContent(rfbClientPtr cl, int length, char *buffer)
} }
} }
#ifdef WIN32
if (FindNextFileA(findHandle, &winFindData) == 0) if (FindNextFileA(findHandle, &winFindData) == 0)
{ {
FindClose(findHandle); FindClose(findHandle);
findHandle = INVALID_HANDLE_VALUE; findHandle = INVALID_HANDLE_VALUE;
} }
#endif
} }
#ifdef WIN32 #ifdef WIN32
if (findHandle != INVALID_HANDLE_VALUE) if (findHandle != INVALID_HANDLE_VALUE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment