/[escript]/trunk/paso/src/Paso.c
ViewVC logotype

Diff of /trunk/paso/src/Paso.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC revision 1361 by gross, Fri Dec 14 09:26:51 2007 UTC
# Line 48  void Paso_resetError(void) { Line 48  void Paso_resetError(void) {
48  void Paso_setError(Paso_ErrorCodeType err,char* msg) {  void Paso_setError(Paso_ErrorCodeType err,char* msg) {
49    size_t lenMsg=strlen(msg);    size_t lenMsg=strlen(msg);
50    if (Paso_noError()) {    if (Paso_noError()) {
51  printf("error set = %d %s",err,msg);  printf("error set = %d %s\n",err,msg);
52       Paso_ErrorCode_=err;       Paso_ErrorCode_=err;
53       strncpy(Paso_ErrorMsg_,msg,MIN(LenErrorMsg_MAX,lenMsg));       strncpy(Paso_ErrorMsg_,msg,MIN(LenErrorMsg_MAX,lenMsg));
54       Paso_ErrorMsg_[MIN(LenErrorMsg_MAX,lenMsg)]='\0';       Paso_ErrorMsg_[MIN(LenErrorMsg_MAX,lenMsg)]='\0';

Legend:
Removed from v.1312  
changed lines
  Added in v.1361

  ViewVC Help
Powered by ViewVC 1.1.26