Merge pull request #61 from Am1GO/master

Fixed repo migration (#60)
master
Am1GO 2015-02-06 10:58:47 +03:00
commit e92b316528
2 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,8 @@ int main( int argc, char *argv[] )
{
try
{
dPrintf( "ZBackup version %s\n", zbackup_version.c_str() );
bool printHelp = false;
vector< char const * > args;
vector< string > passwords;

View File

@ -157,6 +157,7 @@ ExtendedStorageInfo ZBackupBase::loadExtendedStorageInfo(
{
ExtendedStorageInfo extendedStorageInfo;
Config config( extendedStorageInfo.mutable_config() );
config.reset_storable();
config.SET_STORABLE( chunk, max_size, storageInfo.chunk_max_size() );
config.SET_STORABLE( bundle, max_payload_size,
storageInfo.bundle_max_payload_size() );