All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] obexd: Fix the code style
@ 2022-07-05  9:29 Youwan Wang
  2022-07-05 10:32 ` bluez.test.bot
  2022-07-05 17:20 ` [PATCH] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Youwan Wang @ 2022-07-05  9:29 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Youwan Wang

---
 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




^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-05 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05  9:29 [PATCH] obexd: Fix the code style Youwan Wang
2022-07-05 10:32 ` bluez.test.bot
2022-07-05 17:20 ` [PATCH] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.