"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/h460/h460p.cxx" between
h323plus-1_27_0.tar.gz and h323plus-1_27_1.tar.gz

About: H.323 Plus offers libraries for voice (VoIP) and videoconferencing using H.323.

h460p.cxx  (h323plus-1_27_0):h460p.cxx  (h323plus-1_27_1)
skipping to change at line 1688 skipping to change at line 1688
} }
bool H323PresenceSubscription::IsDecisionMade() bool H323PresenceSubscription::IsDecisionMade()
{ {
return HasOptionalField(H460P_PresenceSubscription::e_approved); return HasOptionalField(H460P_PresenceSubscription::e_approved);
} }
void H323PresenceSubscription::AddGenericData(const H225_ArrayOf_GenericData & d ata) void H323PresenceSubscription::AddGenericData(const H225_ArrayOf_GenericData & d ata)
{ {
int sz = data.GetSize(); int sz = data.GetSize();
if (sz >0) if (sz >0) // TODO/BUG: below loop can never run if we exit at greater zero
return; return;
IncludeOptionalField(H460P_PresenceSubscription::e_genericData); IncludeOptionalField(H460P_PresenceSubscription::e_genericData);
m_genericData.SetSize(sz); m_genericData.SetSize(sz);
for (PINDEX i=0; i<sz; i++) { for (PINDEX i=0; i<sz; i++) {
m_genericData[i] = data[i]; m_genericData[i] = data[i];
} }
} }
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)