Revision e852cb42 monl/mon_measure.cpp

View differences:

monl/mon_measure.cpp
1 1
/***************************************************************************
2 2
 *   Copyright (C) 2009 by Robert Birke
3 3
 *   robert.birke@polito.it
4
 *   Copyright (C) 2010 by Csaba Kiraly
5
 *   kiraly@disi.unitn.it
4 6
 *
5 7
 * This library is free software; you can redistribute it and/or
6 8
 * modify it under the terms of the GNU Lesser General Public
......
76 78
	mtss << "-MT:" << (int)msg_type;
77 79
	output_name += mtss.str();
78 80

  
81
	if(flags & REMOTE) {
82
		output_name += "-remote";
83
	} else {
84
		output_name += "-local";
85
	}
86

  
79 87
	sid = mlGetLocalSocketID(&errorstatus);
80 88
	if(errorstatus == 0) {
81 89
		if(mlSocketIDToString(sid, sid_string, sizeof(sid_string)) == 0)

Also available in: Unified diff