mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix port number, especially for postgresql
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18108 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8bd0bdd89a
commit
7ae0a74f54
@ -282,7 +282,7 @@ set_standard_connection_options( QofBackend* qbe, dbi_conn conn, const gchar* ho
|
||||
qof_backend_set_error( qbe, ERR_BACKEND_SERVER_ERR );
|
||||
return FALSE;
|
||||
}
|
||||
result = dbi_conn_set_option_numeric( conn, "port", 0 );
|
||||
result = dbi_conn_set_option_numeric( conn, "port", port );
|
||||
if( result < 0 ) {
|
||||
PERR( "Error setting 'port' option\n" );
|
||||
qof_backend_set_error( qbe, ERR_BACKEND_SERVER_ERR );
|
||||
|
Loading…
Reference in New Issue
Block a user