Diff between c620d295f7da7d9d889f10be141003d5fa428b88 and 3c0786fea5eb8b497700e75b354a09c204268927

Changed Files

File Additions Deletions Status
src/attrib-server.c +0 -5 modified

Full Patch

diff --git a/src/attrib-server.c b/src/attrib-server.c
index 8151514..b076d98 100644
--- a/src/attrib-server.c
+++ b/src/attrib-server.c
@@ -627,7 +627,6 @@ static struct attribute *find_primary_range(uint16_t start, uint16_t *end)
 		return NULL;
 
 	l = g_slist_find_custom(database, GUINT_TO_POINTER(h), handle_cmp);
-
 	if (!l)
 		return NULL;
 
@@ -1050,7 +1049,6 @@ static gboolean register_core_services(void)
 	attrib_db_add(appearance_handle, &uuid, ATT_NONE, ATT_NOT_PERMITTED,
 								atval, 2);
 	gap_sdp_handle = attrib_create_sdp(0x0001, "Generic Access Profile");
-
 	if (gap_sdp_handle == 0) {
 		error("Failed to register GAP service record");
 		goto failed;
@@ -1088,7 +1086,6 @@ int attrib_server_init(void)
 					BT_IO_OPT_PSM, GATT_PSM,
 					BT_IO_OPT_SEC_LEVEL, BT_IO_SEC_LOW,
 					BT_IO_OPT_INVALID);
-
 	if (l2cap_io == NULL) {
 		error("%s", gerr->message);
 		g_error_free(gerr);
@@ -1108,7 +1105,6 @@ int attrib_server_init(void)
 					BT_IO_OPT_CID, GATT_CID,
 					BT_IO_OPT_SEC_LEVEL, BT_IO_SEC_LOW,
 					BT_IO_OPT_INVALID);
-
 	if (le_io == NULL) {
 		error("%s", gerr->message);
 		g_error_free(gerr);
@@ -1187,7 +1183,6 @@ uint32_t attrib_create_sdp(uint16_t handle, const char *name)
 		return 0;
 
 	record = server_record_new(&svc, handle, end);
-
 	if (record == NULL)
 		return 0;