Skip to content

Commit

Permalink
Fix test compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed May 28, 2019
1 parent 3dd8eb7 commit e43a278
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/unit/persist_read_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,9 @@ int sub__messages_queue(struct mosquitto_db *db, const char *source_id, const ch
return MOSQ_ERR_SUCCESS;
}


void db__msg_store_ref_inc(struct mosquitto_msg_store *store)
{
store->ref_count++;
}

0 comments on commit e43a278

Please sign in to comment.