~ubuntu-branches/ubuntu/saucy/filezilla/saucy-proposed

« back to all changes in this revision

Viewing changes to src/engine/pathcache.cpp

  • Committer: Package Import Robot
  • Author(s): Adrien Cunin
  • Date: 2012-12-07 17:17:17 UTC
  • mfrom: (1.1.31)
  • Revision ID: package-import@ubuntu.com-20121207171717-nt6as62u4pa1uv11
Tags: 3.6.0.2-1ubuntu1
* Merge from Debian experimental. Remaining Ubuntu change:
   - Added debian/patches/11_use-decimal-si-by-default.patch in order to
     comply with UnitsPolicy

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        tServerCache &serverCache = *pServerCache;
39
39
 
40
40
        CSourcePath sourcePath;
41
 
        
 
41
 
42
42
        sourcePath.source = source;
43
43
        sourcePath.subdir = subdir;
44
44
 
91
91
                return;
92
92
 
93
93
        CSourcePath sourcePath;
94
 
        
 
94
 
95
95
        sourcePath.source = path;
96
96
        sourcePath.subdir = subdir;
97
97
 
102
102
                target = serverIter->second;
103
103
                iter->second->erase(serverIter);
104
104
        }
105
 
        
 
105
 
106
106
        if (target.IsEmpty() && subdir != _T(""))
107
107
        {
108
108
                target = path;
127
127
 
128
128
void CPathCache::Clear()
129
129
{
130
 
        for (tCacheIterator iter = m_cache.begin(); iter != m_cache.end(); iter++)
 
130
        for (tCacheIterator iter = m_cache.begin(); iter != m_cache.end(); ++iter)
131
131
                delete iter->second;
132
132
 
133
133
        m_cache.clear();