/*
- * Bluetooth-frwk
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Hocheol Seo <hocheol.seo@samsung.com>
- * Girishashok Joshi <girish.joshi@samsung.com>
- * Chanyeol Park <chanyeol.park@samsung.com>
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
*/
-//#include <dbus/dbus-glib.h>
-//#include <dbus/dbus.h>
#include <glib.h>
#include <dlog.h>
#include <string.h>
{
BT_CHECK_PARAMETER(existence, return);
- if (server_list && g_slist_length(server_list) > 0) {
+ if (server_list && g_slist_length(server_list) > 0)
*existence = TRUE;
- } else {
+ else
*existence = FALSE;
- }
return BLUETOOTH_ERROR_NONE;
}
if (server_info == NULL)
continue;
- if (g_strcmp0(server_info->sender, name) == 0) {
+ if (g_strcmp0(server_info->sender, name) == 0)
_bt_rfcomm_remove_socket(server_info->control_fd);
- }
+
}
return BLUETOOTH_ERROR_NONE;