summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/ProcessUNIX.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index eca007c..4452bf0 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -959,10 +959,10 @@ int kwsysProcess_WaitForData(kwsysProcess* cp, char** data, int* length,
0,
kwsysProcess_Pipe_None,
0,
- userTimeout,
+ 0,
{0, 0}
};
-
+ wd.UserTimeout = userTimeout;
/* Make sure we are executing a process. */
if(!cp || cp->State != kwsysProcess_State_Executing || cp->Killed ||
cp->TimeoutExpired)