Bugzilla – Bug 1806
CcnClientHelper m_files is never cleared
Last modified: 2014-04-15 09:46:24 EDT
Created attachment 1728 [details]
When reusing an instance of CcnClientHelper, it copies files also in nodes (files-n directories) where it should not.
The problem could be that in ccn-client-helper.cc, the m_files field is updated when AddFile is called, but never cleared. The proposed fix is to clear it in the ResetEnvironment function, as in the attached patch file.
Patch applied with changeset 530: 2faab8722e1b