Module: sip-router
Branch: master
Commit: 4578f6eba8b3539202dffa756cf0813dfa7eb328
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4578f6e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Nov 1 20:26:07 2011 +0100
db_postgres: use db_api_init() to initialize srdb1 lib
---
modules/db_postgres/pg_mod.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/db_postgres/pg_mod.c b/modules/db_postgres/pg_mod.c
index db78993..c560c9d 100644
--- a/modules/db_postgres/pg_mod.c
+++ b/modules/db_postgres/pg_mod.c
@@ -532,7 +532,7 @@ int pg_test(void)
int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
- if(db_query_init()<0)
+ if(db_api_init()<0)
return -1;
return 0;
}