Re: [OpenSIPStack] Prevent creation of folder registry
Brought to you by:
joegenbaclor
From: <jo...@op...> - 2008-05-17 03:40:40
|
This is created in the RegisterSessionManager constructor. The registry folder serves no purpose for the OSSPhone user agent so you may safely remove it in your implementation. RegistrationDatabase::RegistrationDatabase() { #if HAS_CPPSQLITE m_HasContactRecovery = PrepareContactRecoveryDB( "ContactRecovery.sqlite" ); #else m_HasContactRecovery = TRUE; OString dir = PProcess::Current().GetFile().GetDirectory() + "registry"; if( !PFile::Exists( dir.c_str() ) ) PDirectory::Create( dir.c_str() ); m_RegRecoveryDIR = dir.c_str(); #endif } Matthias Dreißig wrote: > Hi all, > > if I run my application a folder with the name "registry" is created at > the location of my application. The folder is empty. > > Is it possible to prevent the creation of this folder? > > Regards > M. Dreißig > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > |