--- obexd/client/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/client/session.c b/obexd/client/session.c index 6955a8089..7d8ebb04e 100644 --- a/obexd/client/session.c +++ b/obexd/client/session.c @@ -950,7 +950,7 @@ static void transfer_complete(struct obc_transfer *transfer, { struct obc_session *session = user_data; - if (err != 0) + if (err) goto fail; session_notify_complete(session, transfer); -- 2.20.1