mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	correct options szie
This commit is contained in:
		
							parent
							
								
									636fc633d4
								
							
						
					
					
						commit
						6fee2d3536
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -503,7 +503,7 @@ namespace stream
 | 
			
		|||
					uint8_t * signature = packet + size; // set it later
 | 
			
		||||
					memset (signature, 0, signatureLen); // zeroes for now
 | 
			
		||||
					size += signatureLen; // signature
 | 
			
		||||
					htobe16buf (optionsSize, packet + size - optionsSize); // actual options size
 | 
			
		||||
					htobe16buf (optionsSize, packet + size - 2 - optionsSize); // actual options size
 | 
			
		||||
					size += m_SendBuffer.Get (packet + size, STREAMING_MTU - size); // payload
 | 
			
		||||
					m_LocalDestination.GetOwner ()->Sign (packet, size, signature);
 | 
			
		||||
				}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue