diff options
author | Holger Freyther <zecke@selfish.org> | 2009-01-01 18:02:05 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2009-01-01 18:02:05 +0000 |
commit | 12aa50d5a26aefa739da4f1e95c0e2921e704842 (patch) | |
tree | b58f6be9a0fd9c39517e9e3534b7a364becc39f8 /tests/db/Makefile.am | |
parent | 67b4b9a017647b7d28343a352778920633ebf575 (diff) |
Change the subscriber and database backend
gsm_subscriber is now refcounted, the db backend is leaking
a lot less, db_get_subscriber will allocate the subscr record
now, subscr_* will look up a subscriber in the list of currently
active subscribers and add an ref to this one.
The db test cases pass, more testing will be when next to the bts
Diffstat (limited to 'tests/db/Makefile.am')
-rw-r--r-- | tests/db/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/db/Makefile.am b/tests/db/Makefile.am index 936263b7e..5c9c784c6 100644 --- a/tests/db/Makefile.am +++ b/tests/db/Makefile.am @@ -1,8 +1,8 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include -AM_CFLAGS=-Wall +AM_CFLAGS=-Wall -ggdb3 noinst_PROGRAMS = db_test -db_test_SOURCES = db_test.c $(top_srcdir)/src/db.c +db_test_SOURCES = db_test.c $(top_srcdir)/src/db.c $(top_srcdir)/src/gsm_subscriber.c db_test_LDADD = -ldl -ldbi |