mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	MIMEBodyPart.C: fix a couple sizeof-pointer-memaccess warnings
This commit is contained in:
		
							parent
							
								
									dda11f0e38
								
							
						
					
					
						commit
						adc056eb83
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -984,9 +984,9 @@ MIMEBodyPart::parameterValue(
 | 
			
		|||
          vtok++;
 | 
			
		||||
 | 
			
		||||
        if (isCaseSensitive)
 | 
			
		||||
          rtn = strncmp(vtok, parameter, sizeof(parameter));
 | 
			
		||||
            rtn = strncmp(vtok, parameter, strlen(vtok));
 | 
			
		||||
        else
 | 
			
		||||
          rtn = strncasecmp(vtok, parameter, sizeof(parameter));
 | 
			
		||||
            rtn = strncasecmp(vtok, parameter, strlen(vtok));
 | 
			
		||||
 | 
			
		||||
        if (0 == rtn)
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue