Changeset 2696 for box/trunk/bin


Ignore:
Timestamp:
06/06/2010 16:12:20 (2 years ago)
Author:
chris
Message:

Add support for account numbers greater than 0x7fffffff without wrapping.

Location:
box/trunk/bin/bbackupd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbackupd/BackupClientContext.cpp

    r2300 r2696  
    4646        const std::string &rHostname, 
    4747        int Port, 
    48         int32_t AccountNumber,  
     48        uint32_t AccountNumber,  
    4949        bool ExtendedLogging, 
    5050        bool ExtendedLogToFile, 
  • box/trunk/bin/bbackupd/BackupClientContext.h

    r2414 r2696  
    4646                const std::string &rHostname, 
    4747                int32_t Port, 
    48                 int32_t AccountNumber,  
     48                uint32_t AccountNumber,  
    4949                bool ExtendedLogging, 
    5050                bool ExtendedLogToFile, 
     
    214214        std::string mHostname; 
    215215        int mPort; 
    216         int32_t mAccountNumber; 
     216        uint32_t mAccountNumber; 
    217217        SocketStreamTLS *mpSocket; 
    218218        BackupProtocolClient *mpConnection; 
  • box/trunk/bin/bbackupd/BackupDaemon.cpp

    r2632 r2696  
    744744                conf.GetKeyValue("StoreHostname"), 
    745745                conf.GetKeyValueInt("StorePort"), 
    746                 conf.GetKeyValueInt("AccountNumber"),  
     746                conf.GetKeyValueUint32("AccountNumber"),  
    747747                conf.GetKeyValueBool("ExtendedLogging"), 
    748748                conf.KeyExists("ExtendedLogFile"), 
Note: See TracChangeset for help on using the changeset viewer.