Comment # 8
on bug 9962
from Guy Harris
lbm_channel_is_known() is:
gboolean lbm_channel_is_known(guint64 channel)
{
return (!lbm_channel_is_unknown_transport_lbttcp(channel) &&
!lbm_channel_is_unknown_stream_tcp(channel));
}
so it'll be false iff lbm_channel_is_unknown_transport_lbttcp(channel) is true
or lbm_channel_is_unknown_stream_tcp(channel) is true.
So we know that:
one of lbm_channel_is_unknown_transport_lbttcp(channel) or
lbm_channel_is_unknown_stream_tcp(channel) is true;
lbm_channel_is_unknown_transport_source_lbttcp(channel) is not true;
lbm_channel_is_unknown_transport_client_lbttcp(channel) is not true;
so lbm_channel_is_unknown_stream_tcp(channel) is true.
Those three functions are:
gboolean lbm_channel_is_unknown_transport_source_lbttcp(guint64 channel)
{
if (channel == LBM_CHANNEL_UNKNOWN_TRANSPORT_SOURCE_LBTTCP)
{
return (TRUE);
}
return (FALSE);
}
gboolean lbm_channel_is_unknown_transport_client_lbttcp(guint64 channel)
{
if (channel == LBM_CHANNEL_UNKNOWN_TRANSPORT_CLIENT_LBTTCP)
{
return (TRUE);
}
return (FALSE);
}
gboolean lbm_channel_is_unknown_stream_tcp(guint64 channel)
{
if (channel == LBM_CHANNEL_UNKNOWN_STREAM_TCP)
{
return (TRUE);
}
return (FALSE);
}
so if channel is LBM_CHANNEL_UNKNOWN_STREAM_TCP, *boom*.
You are receiving this mail because:
- You are watching all bug changes.