index 54df202fbecaa32aad705b32fe5b52440aa85dac..73d0dc6228e8aff05c5c7b41195412a1cfc63ffa 100644 (file)
char metric_id[(ud->ts_base ? strlen(ud->ts_base) : 0)
+ strlen(hostname) + sizeof(name) + 7];
- sdb_metric_store_t store = { ud->ts_type, metric_id, last_update };
+ sdb_metric_store_t store = { ud->ts_type, metric_id, NULL, last_update };
sdb_data_t data = { SDB_TYPE_STRING, { .string = NULL } };