mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	fixed incorect reply data parsing for DatabaseStore
This commit is contained in:
		
							parent
							
								
									d7c5c24ce4
								
							
						
					
					
						commit
						e3764bef37
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -476,9 +476,8 @@ namespace data
 | 
			
		|||
		if (replyToken)
 | 
			
		||||
		{
 | 
			
		||||
			auto deliveryStatus = CreateDeliveryStatusMsg (replyToken);			
 | 
			
		||||
			offset += 4;
 | 
			
		||||
			uint32_t tunnelID = bufbe32toh (buf + offset);
 | 
			
		||||
			offset += 32;
 | 
			
		||||
			offset += 4;
 | 
			
		||||
			if (!tunnelID) // send response directly
 | 
			
		||||
				transports.SendMessage (buf + offset, deliveryStatus);
 | 
			
		||||
			else
 | 
			
		||||
| 
						 | 
				
			
			@ -493,6 +492,7 @@ namespace data
 | 
			
		|||
					DeleteI2NPMessage (deliveryStatus);
 | 
			
		||||
				}
 | 
			
		||||
			}		
 | 
			
		||||
			offset += 32;
 | 
			
		||||
 | 
			
		||||
			if (context.IsFloodfill ())
 | 
			
		||||
			{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue