Revision 71056291

View differences:

monl/measure_dispatcher.cpp
512 512
	//check if already present
513 513
	if(dispatcherList.find(h_dst) != dispatcherList.end()) {
514 514
		if(m->flags & REMOTE) {
515
			if(dispatcherList[h_dst]->mids_remote.find(mid) == dispatcherList[h_dst]->mids_remote.end())
515
			if(dispatcherList[h_dst]->mids_remote.find(mid) != dispatcherList[h_dst]->mids_remote.end())
516 516
				return -EEXISTS;
517 517
		} else {
518
			if(dispatcherList[h_dst]->mids_local.find(mid) == dispatcherList[h_dst]->mids_local.end())
518
			if(dispatcherList[h_dst]->mids_local.find(mid) != dispatcherList[h_dst]->mids_local.end())
519 519
				return -EEXISTS;
520 520
		}
521 521
	}

Also available in: Unified diff