Module: kamailio Branch: 4.2 Commit: 31bb02ae994c5bb0d34d4f3e6238057a0175660d URL: https://github.com/kamailio/kamailio/commit/31bb02ae994c5bb0d34d4f3e6238057a0175660d
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2015-11-23T16:47:53+01:00 db_postgres: manual revert of d0617167f0aebcaf1e12e6c7f77b2231aed9da51 - breaks compilation, reported by ÃÂyvind Kolbu --- Modified: modules/db_postgres/km_pg_con.c --- Diff: https://github.com/kamailio/kamailio/commit/31bb02ae994c5bb0d34d4f3e6238057a0175660d.diff Patch: https://github.com/kamailio/kamailio/commit/31bb02ae994c5bb0d34d4f3e6238057a0175660d.patch --- diff --git a/modules/db_postgres/km_pg_con.c b/modules/db_postgres/km_pg_con.c index 80a69e4..a8e0494 100644 --- a/modules/db_postgres/km_pg_con.c +++ b/modules/db_postgres/km_pg_con.c @@ -65,10 +65,6 @@ struct pg_con* db_postgres_new_connection(struct db_id* id) memset(ptr, 0, sizeof(struct pg_con)); ptr->ref = 1; - memset(keywords, 0, (sizeof(char*) * 10)); - memset(values, 0, (sizeof(char*) * 10)); - memset(to, 0, (sizeof(char) * 16)); - if (id->port) { ports = int2str(id->port, 0); LM_DBG("opening connection: postgres://xxxx:xxxx@%s:%d/%s\n", ZSW(id->host),
_______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
