[asterisk-commits] tilghman: trunk r107551 - /trunk/cdr/cdr_pgsql.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 11 11:28:03 CDT 2008


Author: tilghman
Date: Tue Mar 11 11:28:03 2008
New Revision: 107551

URL: http://svn.digium.com/view/asterisk?view=rev&rev=107551
Log:
Whitespace changes only

Modified:
    trunk/cdr/cdr_pgsql.c

Modified: trunk/cdr/cdr_pgsql.c
URL: http://svn.digium.com/view/asterisk/trunk/cdr/cdr_pgsql.c?view=diff&rev=107551&r1=107550&r2=107551
==============================================================================
--- trunk/cdr/cdr_pgsql.c (original)
+++ trunk/cdr/cdr_pgsql.c Tue Mar 11 11:28:03 2008
@@ -430,17 +430,18 @@
 	}
 
 	if (option_debug) {
-	    	if (ast_strlen_zero(pghostname))
+		if (ast_strlen_zero(pghostname)) {
 			ast_debug(1, "cdr_pgsql: using default unix socket\n");
-		else
+		} else {
 			ast_debug(1, "cdr_pgsql: got hostname of %s\n", pghostname);
-			ast_debug(1, "cdr_pgsql: got port of %s\n", pgdbport);
-			ast_debug(1, "cdr_pgsql: got user of %s\n", pgdbuser);
-			ast_debug(1, "cdr_pgsql: got dbname of %s\n", pgdbname);
-			ast_debug(1, "cdr_pgsql: got password of %s\n", pgpassword);
-			ast_debug(1, "cdr_pgsql: got sql table name of %s\n", table);
-	}
-	
+		}
+		ast_debug(1, "cdr_pgsql: got port of %s\n", pgdbport);
+		ast_debug(1, "cdr_pgsql: got user of %s\n", pgdbuser);
+		ast_debug(1, "cdr_pgsql: got dbname of %s\n", pgdbname);
+		ast_debug(1, "cdr_pgsql: got password of %s\n", pgpassword);
+		ast_debug(1, "cdr_pgsql: got sql table name of %s\n", table);
+	}
+
 	conn = PQsetdbLogin(pghostname, pgdbport, NULL, NULL, pgdbname, pgdbuser, pgpassword);
 	if (PQstatus(conn) != CONNECTION_BAD) {
 		char sqlcmd[256];




More information about the asterisk-commits mailing list