Message ID | 20220705092952.11868-1-wangyouwan@uniontech.com |
---|---|
State | New |
Headers | show |
Series | obexd: Fix the code style | expand |
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);