From 2ee7238d8f98df1c24f53d49c52eb15772eb7553 Mon Sep 17 00:00:00 2001 From: Sunil Kumar Behera Date: Thu, 8 Nov 2012 16:36:26 +0530 Subject: obexd: Reset ap_sent variable 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. --- obexd/plugins/mas.c | 1 + 1 file changed, 1 insertion(+) (limited to 'obexd/plugins') diff --git a/obexd/plugins/mas.c b/obexd/plugins/mas.c index 186d26712..f17ebdaa0 100644 --- a/obexd/plugins/mas.c +++ b/obexd/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) -- cgit v1.2.3