Diff between f8219bccb485a23af7d61e4542fd4725c85e77bd and 0f0039045088e41f3cebea620ba9ef6d13592faf
Changed Files
| File | Additions | Deletions | Status |
| client/gatt.c | +1 | -1 | modified |
Full Patch
diff --git a/client/gatt.c b/client/gatt.c
index 4dac885..b181865 100644
--- a/client/gatt.c
+++ b/client/gatt.c
@@ -3207,7 +3207,7 @@ static void proxy_property_changed(GDBusProxy *proxy, const char *name,
chrc->path, bt_uuidstr_to_str(chrc->uuid), name);
if (!strcmp(name, "Value")) {
- uint8_t *value = '\0'; /* don't pass NULL to write_value() */
+ uint8_t *value = NULL;
int len = 0;
if (iter && dbus_message_iter_get_arg_type(iter) ==