For multiple subsequent request for message listing we need to reset this variable to FALSE, so that each time the get next header function is executed properly. --- plugins/mas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mas.c b/plugins/mas.c index bdf2b6b..459df87 100644 --- a/plugins/mas.c +++ b/plugins/mas.c @@ -162,6 +162,7 @@ static void reset_request(struct mas_session *mas) mas->nth_call = FALSE; mas->finished = FALSE; + mas->ap_sent = FALSE; } static void mas_clean(struct mas_session *mas) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html