Commit b29b18d3 authored by Stefan Weil's avatar Stefan Weil
Browse files

Agent: Fix typos in comments and strings



Most of them were found and fixed by codespell.

Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
parent 31575672
......@@ -48,7 +48,7 @@ protected: // Methods
protected: // Attributes
CObArray m_tPackages; // Array of package to process
CString m_csDownloadFragLatency; // Time to wait betwen fragment downloaded
CString m_csDownloadFragLatency; // Time to wait between fragment downloaded
CString m_csDownloadCycleLatency; // Time to wait between download cycle
CString m_csDownloadPeriodLatency; // Time to wait between each cycle priority ( = period)
CString m_csDownloadPeriodLength; // Number of period in a download cycle
......
......@@ -119,7 +119,7 @@ BOOL CCapExecute::execute( BOOL bScript, LPCTSTR lpstrPath)
continue;
}
m_pLogger->log( LOG_PRIORITY_WARNING, _T( "EXECUTABLE PLUGIN => Executable plugin <%s> output encoded to UTF-8, trying to reload XML document"), cFinder.GetFilePath());
// UTF-8 encode successfull, try to reload
// UTF-8 encode successful, try to reload
if (!myXml.LoadFile( csOutputFile))
{
m_pLogger->log( LOG_PRIORITY_ERROR, _T( "EXECUTABLE PLUGIN => Executable plugin <%s> output is not a valid XML document"), cFinder.GetFilePath());
......
......@@ -38,7 +38,7 @@ CCapacityAbstract::~CCapacityAbstract()
{
}
// Intialization
// Initialization
void CCapacityAbstract::setProlog( CPrologRequest *pProlog)
{
m_pProlog = pProlog;
......
......@@ -212,7 +212,7 @@ BOOL COCSInventoryApp::InitInstance()
****/
if (m_pConfig->isLocalRequired())
{
m_pLogger->log( LOG_PRIORITY_NOTICE, _T( "AGENT => Local mode actived by /LOCAL argument: No network connection"));
m_pLogger->log( LOG_PRIORITY_NOTICE, _T( "AGENT => Local mode activated by /LOCAL argument: No network connection"));
csMessage.Format( _T( "%s\\%s.ocs"), m_pConfig->getLocalInventoryFolder(), getOcsDeviceID()->getDeviceID());
// Create local connection object
if ((pConnexion = new CConnexionLocal( csMessage)) == NULL)
......@@ -322,7 +322,7 @@ BOOL COCSInventoryApp::InitInstance()
DeleteFile( csLabelFile);
}
else
m_pLogger->log(LOG_PRIORITY_DEBUG, _T( "AGENT => Label sucessfully retrieved"));
m_pLogger->log(LOG_PRIORITY_DEBUG, _T( "AGENT => Label successfully retrieved"));
}
}
......
......@@ -36,7 +36,7 @@
extern "C" {
#endif
// Hook called when agent loads, typicaly used to initialize plugin
// Hook called when agent loads, typically used to initialize plugin
typedef int (*HOOK_START)(void);
OCSINVENTORY_API_EXPORTED int OCS_CALL_START_EXPORTED();
// Hook called before sending prolog to server, typically used to add/modify information to prolog request
......
......@@ -141,7 +141,7 @@ int CPlugins::Load( LPCTSTR lpstrPath)
nCount++;
}
cFinder.Close();
m_pLogger->log(LOG_PRIORITY_DEBUG, _T( "DLL PLUGIN => %d DLL Plug-in(s) succesfully loaded on %d DLL(s) found"), nPlugin, nCount);
m_pLogger->log(LOG_PRIORITY_DEBUG, _T( "DLL PLUGIN => %d DLL Plug-in(s) successfully loaded on %d DLL(s) found"), nPlugin, nCount);
return nPlugin;
}
catch (CException *pEx)
......
......@@ -45,7 +45,7 @@ public:
CPlugins();
virtual ~CPlugins();
// Call plugin Hook when agent loads, typicaly used to initialize plugin
// Call plugin Hook when agent loads, typically used to initialize plugin
void startHook();
// Call plugin Hook before sending prolog to server, typically used to add/modify information to prolog request
void prologWriteHook(CPrologRequest*);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment