[asterisk-commits] file: trunk r104081 - /trunk/res/res_config_pgsql.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Feb 25 09:12:50 CST 2008
Author: file
Date: Mon Feb 25 09:12:48 2008
New Revision: 104081
URL: http://svn.digium.com/view/asterisk?view=rev&rev=104081
Log:
Fix building of trunk. dbpass is always going to exist.
Modified:
trunk/res/res_config_pgsql.c
Modified: trunk/res/res_config_pgsql.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_config_pgsql.c?view=diff&rev=104081&r1=104080&r2=104081
==============================================================================
--- trunk/res/res_config_pgsql.c (original)
+++ trunk/res/res_config_pgsql.c Mon Feb 25 09:12:48 2008
@@ -913,7 +913,7 @@
}
/* 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",
More information about the asterisk-commits
mailing list