correct socket c api

This commit is contained in:
Chaoyi Bian committed 2012-06-05 21:35:51 -07:00
1 parent 53cf3b4005
commit 87832b7f6c
1 file changed
+5 -2
+5 -2
View File
@@ -66,8 +66,11 @@ public:
for (i = 0; i < mdi.size(); i++)
{
mdic[i].prefix = mdi[i].prefix.c_str();
mdic[i].session = mdi[i].low.getSession();
mdic[i].low = mdi[i].low.getSeq();
mdic[i].session = mdi[i].high.getSession();
if (mdi[i].low.getSession() != mdi[i].high.getSession())
mdic[i].low = 0;
else
mdic[i].low = mdi[i].low.getSeq();
mdic[i].high = mdi[i].high.getSeq();
}
if (m_callback != NULL)