From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Jakub Adamek To: linux-bluetooth@vger.kernel.org Cc: Jakub Adamek Subject: [PATCH obexd v2 09/11] Handle partial content response from server Date: Wed, 22 Jun 2011 00:24:23 +0200 Message-Id: <1308695065-3784-10-git-send-email-adamek.kuba@gmail.com> In-Reply-To: <1308695065-3784-1-git-send-email-adamek.kuba@gmail.com> References: <1308695065-3784-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 c92160d..259400b 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