From: dpage Date: Fri, 11 Dec 2009 08:39:44 +0000 (+0000) Subject: Fix probably crash site X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=f5d430c301542fb6eff2beab81af870ad6d10a9c;p=users%2Fquan74%2Fpgadmin-import.git Fix probably crash site git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@8126 a7884b65-44f6-0310-8a51-81a127f17b15 --- diff --git a/pgadmin/db/pgConn.cpp b/pgadmin/db/pgConn.cpp index 87e2e3eb1..d1352d8c5 100644 --- a/pgadmin/db/pgConn.cpp +++ b/pgadmin/db/pgConn.cpp @@ -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; }