Browse files

fix on connect parameters

git-svn-id: svn://svn.pgadmin.org/trunk@2122 a7884b65-44f6-0310-8a51-81a127f17b15
  • Loading branch information...
1 parent bc777d8 commit 6e7b93fd572a43c78b200270fbd32c80167284cb Andreas Pflug committed Aug 15, 2003
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/ui/events.cpp
View
5 src/ui/events.cpp
@@ -480,8 +480,9 @@ void frmMain::OnShowSystemObjects(wxCommandEvent& event)
void frmMain::OnAddServer(wxCommandEvent &ev)
{
- // Create a server object and connec it.
- pgServer *server = new pgServer(settings->GetLastServer(), settings->GetLastDatabase(), settings->GetLastUsername(), settings->GetLastPort(), settings->GetLastSSL());
+ // Create a server object and connect it.
+ pgServer *server = new pgServer(settings->GetLastServer(), settings->GetLastDatabase(),
+ settings->GetLastUsername(), settings->GetLastPort(), false, settings->GetLastSSL());
int res = server->Connect(this);
// Check the result, and handle it as appropriate

0 comments on commit 6e7b93f

Please sign in to comment.