diff --git a/sink/sink20169.c b/sink/sink20169.c index dac89b0..4b5bb8f 100644 --- a/sink/sink20169.c +++ b/sink/sink20169.c @@ -60,7 +60,7 @@ int openDatabaseConnection(t_commonHandle *handle) { if (! handle->conn) { logmsg(LOG_DEBUG, "Opening connection to database"); - handle->conn = PQconnectdb(); + handle->conn = PQconnectdb(""); } else if (PQstatus(handle->conn) != CONNECTION_OK) { logmsg(LOG_DEBUG, "Resetting connection to database"); PQreset(handle->conn);