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

View File

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