obexd: agent: Use if-elseif instead of multi-if to check error message
authorGuiting Shen <aarongt.shen@gmail.com>
Fri, 21 Apr 2023 02:47:31 +0000 (10:47 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:41:34 +0000 (16:11 +0530)
commitb04fa2bb358f0bbea0af61e852f7b46bb6ba2086
tree6f0dcf676d61a596dbfe7248a3485d1600fecf1e
parent65580ef2d248418f1a7fc2c71781d5ca58687bb4
obexd: agent: Use if-elseif instead of multi-if to check error message

The obex agent will return only one error message at the same time.So
we should use if-elseif instead of multi-if to check error message which
maybe DEBUG_ERROR_NO_REPLY or OBEX_ERROR_REJECT in agent_reply().
obexd/src/manager.c