Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8496 in orxonox.OLD for branches/network/src/lib/network/zip.cc


Ignore:
Timestamp:
Jun 15, 2006, 10:11:56 PM (18 years ago)
Author:
rennerc
Message:

NetworkStream should use different dicts for server/client now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/zip.cc

    r7954 r8496  
    4848 * @return true on success
    4949 */
    50 bool Zip::loadDictionary( std::string name )
     50int Zip::loadDictionary( std::string name )
    5151{
    5252  std::string fileName = ResourceManager::getInstance()->getDataDir();
     
    6060  {
    6161    PRINTF(1)("Could not open %d\n", fileName.c_str());
    62     return false;
     62    return -1;
    6363  }
    6464 
     
    8787  PRINTF(3)("Loaded dictionary '%s' with adler = %d\n", name.c_str(), entry.adler );
    8888 
    89   return true;
     89  return dicts.size()-1;
    9090}
    9191
Note: See TracChangeset for help on using the changeset viewer.