Fix wrong implementation 34/259234/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 2 Jun 2021 23:54:38 +0000 (08:54 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 2 Jun 2021 23:54:38 +0000 (08:54 +0900)
commit36877070e4f80d61b039b06a251797230224403f
tree2b0a238683bdbfa81980d900f976dd9997e5e578
parent99729e46534f515f11c94305e022ba672ba746fd
Fix wrong implementation

If the return value of aul_sock_recv_reply_pkt() is a negative error value,
the function should return the error value after calling aul_error_convert()
with the return value.
Previous implemenation uses the fd variable. It's a wrong implementation.
This patch uses the ret variable when calling aul_error_convert().

Change-Id: Ic054b9d697f9f6502608af88a4ebeed3ae69f138
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/pkginfo.c