Merge pull request #36 from danielgindi/master

A forgotten `#ifdef WIN32` broke UNIX build.
pull/1/head
dscho 10 years ago
commit 198c855d2a

@ -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)

Loading…
Cancel
Save