Changeset 180 for cpp/frams/errmgr
- Timestamp:
- 03/18/14 09:11:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/errmgr/errmanager.cpp
r121 r180 4 4 5 5 #include "errmanager.h" 6 6 #include <common/stl-util.h> 7 7 8 8 void FramMessage(const char *o,const char *m,const char *bl,int w) … … 65 65 { 66 66 if (!isEnabled()) return; 67 char buf[10000];67 string buf; 68 68 va_list argptr; 69 69 va_start(argptr,bl); 70 vsnprintf(buf,10000,bl,argptr);70 buf=ssprintf_va(bl,argptr); 71 71 va_end(argptr); 72 send(o,m,buf ,w);72 send(o,m,buf.c_str(),w); 73 73 } 74 74
Note: See TracChangeset
for help on using the changeset viewer.