mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	Fix su3
This commit is contained in:
		
							parent
							
								
									4032a611bf
								
							
						
					
					
						commit
						895416fc1f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -86,7 +86,7 @@ namespace data
 | 
				
			||||||
                while (reseedRetries < 10)
 | 
					                while (reseedRetries < 10)
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    auto ind = rand () % httpsReseedHostList.size ();
 | 
					                    auto ind = rand () % httpsReseedHostList.size ();
 | 
				
			||||||
                    std::string reseedUrl = httpsReseedHostList[ind] + "dotnetseeds.su3";
 | 
					                    std::string reseedUrl = httpsReseedHostList[ind] + "seeds.su3";
 | 
				
			||||||
                    auto num = ReseedFromSU3Url (reseedUrl);
 | 
					                    auto num = ReseedFromSU3Url (reseedUrl);
 | 
				
			||||||
                    if (num > 0) return num; // success
 | 
					                    if (num > 0) return num; // success
 | 
				
			||||||
                    reseedRetries++;
 | 
					                    reseedRetries++;
 | 
				
			||||||
| 
						 | 
					@ -144,7 +144,7 @@ namespace data
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const char SU3_MAGIC_NUMBER[]="DOTNETsu3";
 | 
						const char SU3_MAGIC_NUMBER[]="su3";
 | 
				
			||||||
	int Reseeder::ProcessSU3Stream (std::istream& s)
 | 
						int Reseeder::ProcessSU3Stream (std::istream& s)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		char magicNumber[7];
 | 
							char magicNumber[7];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue