Explorar o código

db_postgres: manual revert of d0617167f0aebcaf1e12e6c7f77b2231aed9da51

- breaks compilation, reported by Øyvind Kolbu
Daniel-Constantin Mierla %!s(int64=10) %!d(string=hai) anos
pai
achega
31bb02ae99
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      modules/db_postgres/km_pg_con.c

+ 0 - 4
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),