commit | 9ee1038cff9e9e3eaa637df94704801cf09cbe66 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Thu Jun 06 15:05:46 2013 +0700 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Wed Jun 12 00:12:33 2013 +0300 |
tree | d15864c20f3795fa57a7e1bd41f28486ae88b921 | |
parent | 00622544dd96a8037fbf557ac2438bc307142b71 [diff] |
obexd: Fix not checking for valid fd on NewConnection The fd needs to be checked as it may not be valid which cause the following warnings: ==8162== Warning: invalid file descriptor 1031 in syscall fcntl(DUPFD_CLOEXEC)() (obexd:8162): GLib-WARNING **: giounix.c:412Error while getting flags for FD: Bad file descriptor (9)