Revision 03256bf1 monl/result_buffer.cpp

View differences:

monl/result_buffer.cpp
217 217
	new_data = true;
218 218

  
219 219
	/* is it time to publish ?*/
220
	if(m->param_values[P_PUBLISHING_PKT_TIME_BASED] == 0.0 && samples % (int)m->param_values[P_PUBLISHING_RATE] == 0) {
221
		return publishResults();
222
	}
220
       if(m->param_values[P_PUBLISHING_PKT_TIME_BASED] == 0.0 && samples % (int)m->param_values[P_PUBLISHING_RATE] == 0 && !(m->flags & REMOTE)) {
221
               return publishResults();
222
       }
223 223

  
224 224
	return EOK;
225 225
};

Also available in: Unified diff