From 4772d35ce939f365aec32b8a0e0538add8db9e10 Mon Sep 17 00:00:00 2001 From: Mingwei Zhang Date: Fri, 20 Sep 2019 12:15:42 -0700 Subject: [PATCH] fix bsdi_sqlite.c compilation error change `bgpstream_record_dump_type_t` to `bgpstream_record_type_t` when setting resource types before pushing to resource manager. this fixes compilation error in #157 --- lib/datainterfaces/bsdi_sqlite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datainterfaces/bsdi_sqlite.c b/lib/datainterfaces/bsdi_sqlite.c index 32cc8b67..e8e8a461 100644 --- a/lib/datainterfaces/bsdi_sqlite.c +++ b/lib/datainterfaces/bsdi_sqlite.c @@ -342,7 +342,7 @@ int bsdi_sqlite_update_resources(bsdi_t *di) const char *proj = (const char *)sqlite3_column_text(STATE->stmt, 1); const char *coll = (const char *)sqlite3_column_text(STATE->stmt, 2); const char *type_str = (const char *)sqlite3_column_text(STATE->stmt, 3); - bgpstream_record_dump_type_t type; + bgpstream_record_type_t type; if (strcmp("ribs", type_str) == 0) { type = BGPSTREAM_RIB; } else if (strcmp("updates", type_str) == 0) {