mirror of
				https://github.com/samba-team/samba.git
				synced 2025-10-31 12:23:52 +03:00 
			
		
		
		
	s3: util: Remove unneeded strequal() call. Convert to simple character check.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12419 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
		
				
					committed by
					
						 Andreas Schneider
						Andreas Schneider
					
				
			
			
				
	
			
			
			
						parent
						
							b7a4210e28
						
					
				
				
					commit
					076963c23e
				
			| @@ -1942,7 +1942,7 @@ bool unix_wild_match(const char *pattern, const char *string) | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	if (strequal(p2,"*")) { | ||||
| 	if (p2[0] == '*' && p2[1] == '\0') { | ||||
| 		TALLOC_FREE(ctx); | ||||
| 		return true; | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user