gobex: Print error if data cannot be written
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 14 Feb 2022 23:40:40 +0000 (15:40 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:53 +0000 (14:55 +0530)
commit2fb44ceb621d1e04e685caa6b2de2809aab8d4e0
tree74b5e6fe55ee0ad72588081679c6c1c306fd16fb
parentc4fbc0cdbf915e3bc9200d4a1217f1e1b09364c8
gobex: Print error if data cannot be written

This makes sure that if the data cannot be written it fails and the
error is properly printed.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
gobex/gobex.c