SVN Commit by dpage: r4191 - trunk/pgadmin3/xtra/pgagent

Поиск
Список
Период
Сортировка
Искать

SVN Commit by dpage: r4191 - trunk/pgadmin3/xtra/pgagent

От:
svn@pgadmin.org
Дата:
Author: dpage
Date: 2005-05-17 15:13:14 +0100 (Tue, 17 May 2005)
New Revision: 4191

Modified:
   trunk/pgadmin3/xtra/pgagent/win32.cpp
Log:
_snprintf on Win32, not snprintf

Modified: trunk/pgadmin3/xtra/pgagent/win32.cpp
===================================================================
--- trunk/pgadmin3/xtra/pgagent/win32.cpp	2005-05-17 14:12:52 UTC (rev 4190)
+++ trunk/pgadmin3/xtra/pgagent/win32.cpp	2005-05-17 14:13:14 UTC (rev 4191)
@@ -17,6 +17,7 @@
 
 #include 
 #include 
+#include 
 
 // for debugging purposes, we can start the service paused
 
@@ -305,7 +306,7 @@
     if (!conn->IsValid())
     {
         char tmp[255];
-        snprintf(tmp, 254, "Connection not valid: %s", conn->GetLastError().c_str());
+        _snprintf(tmp, 254, "Connection not valid: %s", conn->GetLastError().c_str());
         LogMessage(tmp, LOG_ERROR);
     }
 

FAQ