diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-25 15:12:48 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-02-25 15:12:48 +0000 |
commit | 6a5da29722416463198590f16800783cb561bf2c (patch) | |
tree | a012a953f0cee47e12f46cf1901412da39562277 /res | |
parent | a811e2b29e4d4158bbd33e35e5a043c7961dc89b (diff) |
Fix building of trunk. dbpass is always going to exist.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104081 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_config_pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c index 0bd535f15..e0511bbc6 100644 --- a/res/res_config_pgsql.c +++ b/res/res_config_pgsql.c @@ -913,7 +913,7 @@ static int pgsql_reconnect(const char *database) } /* DB password can legitimately be 0-length */ - if ((!pgsqlConn) && (!ast_strlen_zero(dbhost) || !ast_strlen_zero(dbsock)) && !ast_strlen_zero(dbuser) && dbpass && !ast_strlen_zero(my_database)) { + if ((!pgsqlConn) && (!ast_strlen_zero(dbhost) || !ast_strlen_zero(dbsock)) && !ast_strlen_zero(dbuser) && !ast_strlen_zero(my_database)) { struct ast_str *connInfo = ast_str_create(32); ast_str_set(&connInfo, 0, "host=%s port=%d dbname=%s user=%s", |