Merge pull request #655 from dorianj/smallfixes
test-client: zero write fds before running (fix #494)
This commit is contained in:
commit
fffc6297a0
@ -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)
|
||||
|
@ -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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user