summaryrefslogtreecommitdiff
path: root/obexd/plugins
diff options
context:
space:
mode:
authorSunil Kumar Behera <sunil.behera@samsung.com>2012-11-08 16:36:26 +0530
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:49:06 +0100
commit2ee7238d8f98df1c24f53d49c52eb15772eb7553 (patch)
tree3dbdadcc9eeeb0cb7d93c54c593bf873250f5f96 /obexd/plugins
parentf3eeb2c93f8e3a2460fca3db48f390d1574d9bdc (diff)
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.
Diffstat (limited to 'obexd/plugins')
-rw-r--r--obexd/plugins/mas.c1
1 files changed, 1 insertions, 0 deletions
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)