Commit: 20340654cf4221da492cc5bc26764dfba5f80c9b
Parent: e1713aa11d83c30531ed503ec59dab94de43f87f
Author: Szymon Janc <szymon@janc.net.pl>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:49:03
Tree: 6ec0dbf125dadf327542695c64c968beaa83e306

obexd: Fix error returning in obc_transfer_put Always set error on failure in obc_transfer_put. This is expected by callers and will avoid possible NULL pointer dereference. Also fix improper use of errno variable (calling error may modify it) and some dead assignments to perr.

Diffstat

M obexd/client/transfer.c | 17 ++++++++++- - - - - - -

1 files changed, 10 insertions(+), 7 deletions(-)

View Full Diff | Patch