*
* @param pipe the pipe instance
* @param error return location for an error
- * @returns #FALSE if error is set
+ * @returns -1 if error is set
*/
int
_dbus_pipe_close (DBusPipe *pipe,
DBusError *error)
{
- if (_dbus_close (pipe->fd_or_handle, error) < 0)
+ if (!_dbus_close (pipe->fd_or_handle, error))
{
return -1;
}