BUG: GetErrorString should return ErrorMessage buffer, not the pipe buffer.

This commit is contained in:
Brad King 2003-08-05 09:07:54 -04:00
parent 75ce40f4d6
commit 5ffb75bc6c
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ const char* kwsysProcess_GetErrorString(kwsysProcess* cp)
{
if(cp->State == kwsysProcess_State_Error)
{
return cp->PipeBuffer;
return cp->ErrorMessage;
}
return 0;
}