Ignore:
Timestamp:
Mar 18, 2008, 12:05:08 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Cleaned up cache.cpp.
  • Renamed stupid "cash" variable into "cache".
  • Rename cache_list and crc_manager into CacheList? and CrcManager?.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/nfclient.cpp

    r56 r123  
    3030void remove_client(int client_number) { ; }
    3131
    32 crc_manager *net_crcs=NULL;
     32CrcManager *net_crcs = NULL;
    3333extern net_protocol *prot;
    3434
     
    8888    if (!fail2)
    8989    {   
    90       int local_file_num=crc_man.get_filenumber(local_filename);
    91       uint32_t local_crc=crc_man.get_crc(local_file_num,fail1);
     90      int local_file_num=crc_manager.get_filenumber(local_filename);
     91      uint32_t local_crc=crc_manager.get_crc(local_file_num,fail1);
    9292      if (fail1)
    9393      {
     
    9696        {
    9797          local_crc=crc_file(fp);
    98           crc_man.set_crc(local_file_num,local_crc);
     98          crc_manager.set_crc(local_file_num,local_crc);
    9999        } else fail3=1;
    100100        delete fp;     
     
    214214    }
    215215
    216     net_crcs=new crc_manager();
     216    net_crcs=new CrcManager();
    217217    if (!net_crcs->load_crc_file(NET_CRC_FILENAME))
    218218    {
Note: See TracChangeset for help on using the changeset viewer.