diff --git a/src/xrt/drivers/vive/vive_device.c b/src/xrt/drivers/vive/vive_device.c index 5c79f5be8..3452b5652 100644 --- a/src/xrt/drivers/vive/vive_device.c +++ b/src/xrt/drivers/vive/vive_device.c @@ -610,7 +610,7 @@ static char * _json_get_string(const cJSON *json, const char *name) { const cJSON *item = cJSON_GetObjectItemCaseSensitive(json, name); - return strdup(item->string); + return strdup(item->valuestring); } static double