Author: sayer
Date: 2008-09-24 01:52:58 +0200 (Wed, 24 Sep 2008)
New Revision: 1099
Modified:
trunk/core/AmEventDispatcher.cpp
Log:
corrected return value (false on error)
Modified: trunk/core/AmEventDispatcher.cpp
===================================================================
--- trunk/core/AmEventDispatcher.cpp 2008-09-23 23:51:35 UTC (rev 1098)
+++ trunk/core/AmEventDispatcher.cpp 2008-09-23 23:52:58 UTC (rev 1099)
@@ -35,6 +35,7 @@
return _instance ? _instance : ((_instance = new AmEventDispatcher()));
}
+/** @return false on error */
bool AmEventDispatcher::addEventQueue(const string& local_tag,
AmEventQueueInterface* q,
const string& callid,
@@ -60,7 +61,7 @@
m_queues.unlock();
- return exists;
+ return !exists;
}
AmEventQueueInterface* AmEventDispatcher::delEventQueue(const string&
local_tag,
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev