---
lib/fdobex.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/fdobex.c b/lib/fdobex.c
index 45c56ff..7a44fbd 100644
--- a/lib/fdobex.c
+++ b/lib/fdobex.c
@@ -78,6 +78,8 @@ static int fdobex_read(obex_t *self, void *buf, int buflen)
{
struct obex_transport *trans = &self->trans;
+ if(trans->data.fd.fmt == FDOBEX_MT_SEQPACKET)
+ buflen = self->mtu_rx;
#ifdef _WIN32
return _read(trans->fd, buf, buflen);
#else
--
1.7.1
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users