obexd: Fix the code style
authorYouwan Wang <wangyouwan@uniontech.com>
Tue, 5 Jul 2022 09:29:52 +0000 (17:29 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
obexd/client/session.c

index 5d88c21..5685082 100755 (executable)
@@ -988,7 +988,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);