Hi Vinicius,
On Fri, Jul 02, 2010, Vinicius Costa Gomes wrote:
> In the server case the final bit of the opcode must always be set.
> When resuming a request that would take more than one packet, it was
> not set.
> ---
> lib/obex_object.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lib/obex_object.c b/lib/obex_object.c
> index 6b2ed5d..6bfeabd 100644
> --- a/lib/obex_object.c
> +++ b/lib/obex_object.c
> @@ -924,7 +924,7 @@ int obex_object_resume(obex_t *self, obex_object_t
> *object)
> cmd = (self->state & MODE_SRV) ? object->cmd :
> object->opcode & ~OBEX_FINAL;
>
> - ret = obex_object_send(self, object, TRUE, FALSE);
> + ret = obex_object_send(self, object, TRUE, self->state & MODE_SRV);
>
> if (ret < 0) {
> obex_deliver_event(self, OBEX_EV_LINKERR, cmd, 0, TRUE);
I went ahead (in agreement with Marcel) and pushed Hendriks patches, and
then a slightly modified version of this one. We're trying to get a new
release out soonish.
Johan
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users