do not exit on failed smprintf
This commit is contained in:
		
				
					committed by
					
						
						Aaron Marcher (drkhsh)
					
				
			
			
				
	
			
			
			
						parent
						
							2fdb2ede04
						
					
				
				
					commit
					db07244cb8
				
			@@ -90,7 +90,7 @@ smprintf(const char *fmt, ...)
 | 
			
		||||
	ret = malloc(++len);
 | 
			
		||||
	if (ret == NULL) {
 | 
			
		||||
		warn("Malloc failed.");
 | 
			
		||||
		exit(1);
 | 
			
		||||
		return "n/a";
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	va_start(ap, fmt);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user