Fix probably crash site
authordpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Fri, 11 Dec 2009 08:39:44 +0000 (08:39 +0000)
committerdpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Fri, 11 Dec 2009 08:39:44 +0000 (08:39 +0000)
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@8126 a7884b65-44f6-0310-8a51-81a127f17b15

pgadmin/db/pgConn.cpp

index 87e2e3eb130ed2c0c35e4f1d91abe5fb69da7ac0..d1352d8c583271c6ff6a85247c076f1701318f37 100644 (file)
@@ -276,7 +276,7 @@ bool pgConn::Reconnect()
     // Attempt the reconnect
        if (!DoConnect())
     {
-        wxLogError(_("Failed to re-establish the connection to the server %s"), GetName());
+        wxLogError(_("Failed to re-establish the connection to the server %s"), GetName().c_str());
         return false;
     }