Sign in to follow this  
Followers 0
SMT

please explain ShareManager::buildTree()

1 post in this topic

it contains

						string newName = aName + name + PATH_SEPARATOR;

						if((Util::stricmp(newName + PATH_SEPARATOR, SETTING(TEMP_DOWNLOAD_DIRECTORY)) != 0) && shareFolder(newName)) {

1st param of stricmp will be double-ended with PATH_SEPARATOR, so never matches with 2nd param

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0