mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-12 13:34:41 +08:00
obexd: Remove g_obex_packet_find_header
This was exactly the same as g_obex_packet_get_header.
This commit is contained in:
parent
8db017fec4
commit
081807736b
@ -352,7 +352,7 @@ static void get_buf_xfer_progress(GObex *obex, GError *err, GObexPacket *rsp,
|
||||
return;
|
||||
}
|
||||
|
||||
hdr = g_obex_packet_find_header(rsp, G_OBEX_HDR_APPARAM);
|
||||
hdr = g_obex_packet_get_header(rsp, G_OBEX_HDR_APPARAM);
|
||||
if (hdr) {
|
||||
g_obex_header_get_bytes(hdr, &buf, &len);
|
||||
if (len != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user