summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Kumar Behera <sunil.behera@samsung.com>2012-11-08 16:36:26 +0530
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-11-09 12:08:33 +0200
commit9f37ce8504810ee563e51e6a720cc2a1970b444c (patch)
treefe37714ef7e16b507180e62aa3fdf6b464a59e9e
parent01636c0964a54f20262ab506299602deb9e85a0a (diff)
downloadobexd-9f37ce8504810ee563e51e6a720cc2a1970b444c.tar.gz
MAP: 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.
-rw-r--r--plugins/mas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mas.c b/plugins/mas.c
index 186d267..f17ebda 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)