Return-Path: From: Jakub Adamek To: linux-bluetooth@vger.kernel.org Cc: Jakub Adamek Subject: [PATCH obexd v3 09/11] Handle partial content response from server Date: Fri, 24 Jun 2011 02:39:15 +0200 Message-Id: <1308875957-13397-10-git-send-email-adamek.kuba@gmail.com> In-Reply-To: <1308875957-13397-1-git-send-email-adamek.kuba@gmail.com> References: <1308875957-13397-1-git-send-email-adamek.kuba@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: --- gwobex/obex-priv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gwobex/obex-priv.c b/gwobex/obex-priv.c index 40a2026..e92e207 100644 --- a/gwobex/obex-priv.c +++ b/gwobex/obex-priv.c @@ -346,7 +346,7 @@ static void obex_request_done(GwObex *ctx, obex_object_t *object, ctx->obex_rsp = obex_rsp; - if (obex_rsp != OBEX_RSP_SUCCESS) { + if (obex_rsp != OBEX_RSP_SUCCESS && obex_rsp != OBEX_RSP_PARTIAL_CONTENT) { debug("%s command (0x%02x) failed: %s (0x%02x)\n", optostr((uint8_t)obex_cmd), (uint8_t)obex_cmd, OBEX_ResponseToString(obex_rsp), (uint8_t)obex_rsp); -- 1.7.0.4