Merge pull request #655 from dorianj/smallfixes

test-client: zero write fds before running (fix #494)
This commit is contained in:
Marc-André Moreau 2012-07-22 09:45:42 -07:00
commit fffc6297a0
2 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,7 @@ if(APPLE)
include_directories(/opt/local/include)
link_directories(/opt/local/lib)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -mmacosx-version-min=10.4")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -framework CoreFoundation")
endif()
if(NOT WIN32)

View File

@ -231,6 +231,7 @@ int tfreerdp_run(freerdp* instance)
max_fds = 0;
FD_ZERO(&rfds_set);
FD_ZERO(&wfds_set);
for (i = 0; i < rcount; i++)
{