Revision 581339c4 measures.c

View differences:

measures.c
9 9
#include <mon.h>
10 10
#include <ml.h>
11 11

  
12
#include "channel.h"
12 13
#include "dbg.h"
13 14
#include <net_helper.h>
14 15

  
15
static const char* channel = "OfferStreamer3";
16

  
17 16
typedef struct nodeID {
18 17
	socketID_handle addr;
19 18
	int connID;	// connection associated to this node, -1 if myself
......
34 33
{
35 34
	*mh = monCreateMeasure(id, mc);
36 35
	monSetParameter (*mh, P_PUBLISHING_RATE, rate);
37
	monPublishStatisticalType(*mh, pubname, channel, st , length, NULL);
36
	monPublishStatisticalType(*mh, pubname, channel_get_name(), st , length, NULL);
38 37
	monActivateMeasure(*mh, dst, mt);
39 38
}
40 39

  

Also available in: Unified diff