Fix pass wrong type of argument to function
authorChengwei Yang <chengwei.yang@intel.com>
Fri, 6 Sep 2013 03:26:44 +0000 (11:26 +0800)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 13 Sep 2013 11:29:36 +0000 (12:29 +0100)
commitf658047ec8453dc7a7ba5ebe66bf113050915da0
tree717e9918b9ba8bf1fc78a6972c812457a11272e8
parentfbeac8820acc60e3400a0a391c10b6c2bba7e8ba
Fix pass wrong type of argument to function

The last argument of function _dbus_transport_new_for_socket() is
declared as const DBusString *. However, it is passed as a bool value.
Although the value of FALSE equals NULL in fact, this is an incorrect
use of function.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69165
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-server-socket.c