Clearer error message (note TECS as source) M.Z.9.01

This commit is contained in:
cvs
2001-09-13 11:32:37 +00:00
parent 9ff760a8bc
commit 22688ac0fc

View File

@ -172,7 +172,7 @@
}
/* not reached */
Error:
sprintf(pBueffel,"ERROR: %s",ErrMessage);
sprintf(pBueffel,"ERROR in TECS: %s",ErrMessage);
SCWrite(pCon,pBueffel,eError);
return 0;
}
@ -239,6 +239,7 @@
str_ncpy(error, "undefined error", iErrLen);
} else {
str_ncpy(error, pMe->lastError, iErrLen);
str_ncat(error, " (TECS)", iErrLen);
}
return 1;
}