MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / UnTerminateDirectory

Function UnTerminateDirectory

sourcecommon/utils.cpp:388–395  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

386}
387//---------------------------------------------------------------------------
388void UnTerminateDirectory(char * szDir)
389{
390 if( ! szDir ) return;
391 int i = lstrlen( szDir );
392 if( i < 1 ) return;
393 if( szDir[i-1]=='\\' )
394 szDir[i-1] = 0;
395}
396//---------------------------------------------------------------------------
397//
398extern char szLogFile[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected