Author: dpage
Date: 2005-05-20 16:44:01 +0100 (Fri, 20 May 2005)
New Revision: 4228
Modified:
trunk/pgadmin3/xtra/pgagent/unix.cpp
Log:
GCC warnings
Modified: trunk/pgadmin3/xtra/pgagent/unix.cpp
===================================================================
--- trunk/pgadmin3/xtra/pgagent/unix.cpp 2005-05-20 15:36:20 UTC (rev 4227)
+++ trunk/pgadmin3/xtra/pgagent/unix.cpp 2005-05-20 15:44:01 UTC (rev 4228)
@@ -19,11 +19,11 @@
void usage()
{
- wxPrintf(_("Usage:\n"));
- wxPrintf(_("pgAgent INSTALL [options] <connect-string>\n"));
- wxPrintf(_("options:\n"));
- wxPrintf(_("-t <poll time interval in seconds (default 10)>\n"));
- wxPrintf(_("-r <retry period after connection abort in seconds (>=10, default 30)>\n"));
+ wxPrintf(_("Usage:\n"));
+ wxPrintf(_("pgAgent INSTALL [options] <connect-string>\n"));
+ wxPrintf(_("options:\n"));
+ wxPrintf(_("-t <poll time interval in seconds (default 10)>\n"));
+ wxPrintf(_("-r <retry period after connection abort in seconds (>=10, default 30)>\n"));
wxPrintf(_("-l <logging verbosity (ERROR=0, WARNING=1, DEBUG=2, default 0)>\n"));
}
@@ -33,14 +33,14 @@
{
case LOG_DEBUG:
if (minLogLevel >= LOG_DEBUG)
- wxPrintf(_("DEBUG: %s\n"), msg);
+ wxPrintf(_("DEBUG: %s\n"), msg.c_str());
break;
case LOG_WARNING:
if (minLogLevel >= LOG_WARNING)
- wxPrintf(_("WARNING: %s\n"), msg);
+ wxPrintf(_("WARNING: %s\n"), msg.c_str());
break;
case LOG_ERROR:
- wxPrintf(_("ERROR: %s\n"), msg);
+ wxPrintf(_("ERROR: %s\n"), msg.c_str());
exit(1);
break;
}
@@ -72,9 +72,9 @@
}
int main(int argc, char **argv)
-{
- // Statup wx
- wxInitialize();
+{
+ // Statup wx
+ wxInitialize();
if (argc < 2)
{