Diff between 4a939b5e8a213005ed1fc8a25e41524c720f59cd and a2178814e7897dfeb6e9488e3ef3559df71a361d

Changed Files

File Additions Deletions Status
android/gatt.c +2 -1 modified

Full Patch

diff --git a/android/gatt.c b/android/gatt.c
index b426c16..32853fa 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -3859,8 +3859,9 @@ static void handle_server_register(const void *buf, uint16_t len)
 	if (app) {
 		ev.server_if = app->id;
 		ev.status = GATT_SUCCESS;
-	} else
+	} else {
 		ev.status = GATT_FAILURE;
+	}
 
 	memcpy(ev.uuid, cmd->uuid, sizeof(ev.uuid));