Changeset 372 for cpp/frams/mhandlers/stderrors.cpp
- Timestamp:
- 04/22/15 04:14:59 (10 years ago)
- Location:
- cpp/frams/mhandlers
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/mhandlers/stderrors.cpp
r348 r372 5 5 #include "stderrors.h" 6 6 #include <frams/util/sstringutils.h> 7 #include <common/ framsg.h>7 #include <common/hmessage.h> 8 8 9 9 bool listIndexCheck(SList* list,int index,const char* msgobj,const char* msgfun) … … 13 13 { 14 14 if (size>0) 15 FMprintf(msgobj,msgfun,FMLV_ERROR,"Invalid index %d (allowed range is 0..%d)",index,size-1);15 Hprintf(msgobj,msgfun,HMLV_ERROR,"Invalid index %d (allowed range is 0..%d)",index,size-1); 16 16 else 17 FMprintf(msgobj,msgfun,FMLV_ERROR,"Invalid index %d (this list is empty)",index);17 Hprintf(msgobj,msgfun,HMLV_ERROR,"Invalid index %d (this list is empty)",index); 18 18 return 0; 19 19 } … … 29 29 { 30 30 SString msg2=SString(msg)+": \"%s\" (adjusted to \"%s\")"; 31 FMprintf(msgobj,msgfun,FMLV_WARN,msg2.c_str(),in.c_str(),corrected.c_str());31 Hprintf(msgobj,msgfun,HMLV_WARN,msg2.c_str(),in.c_str(),corrected.c_str()); 32 32 } 33 33 return corrected;
Note: See TracChangeset
for help on using the changeset viewer.