Skip to content

Commit

Permalink
fix bsdi_sqlite.c compilation error
Browse files Browse the repository at this point in the history
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
  • Loading branch information
digizeph committed Sep 20, 2019
1 parent 9c39040 commit 4772d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datainterfaces/bsdi_sqlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4772d35

Please sign in to comment.