2023-04-21 21:26:37

by fdanis-oss

[permalink] [raw]
Subject: [bluez/bluez] 9a0acc: obexd: agent: Use if-elseif instead of multi-if to...

Branch: refs/heads/master
Home: https://github.com/bluez/bluez
Commit: 9a0acc7984ef79e287ec9db70703405f64a79bee
https://github.com/bluez/bluez/commit/9a0acc7984ef79e287ec9db70703405f64a79bee
Author: Guiting Shen <[email protected]>
Date: 2023-04-21 (Fri, 21 Apr 2023)

Changed paths:
M obexd/src/manager.c

Log Message:
-----------
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().