Revision faf560e3

View differences:

monl/mon_measure.cpp
16 16
 * License along with this library; if not, write to the Free Software
17 17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA 
18 18
 ***********************************************************************/
19
#include <sstream>
19 20
#include "mon_measure.h"
20 21
#include "measure_dispatcher.h"
21 22
#include "measure_manager.h"
......
71 72

  
72 73
	output_name = name;
73 74

  
74
	output_name += "-MT:" + msg_type;
75
	std::stringstream mtss;
76
	mtss << "-MT:" << (int)msg_type;
77
	output_name += mtss.str();
75 78

  
76 79
	sid = mlGetLocalSocketID(&errorstatus);
77 80
	if(errorstatus == 0) {

Also available in: Unified diff