mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Even better, use cause.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: cmd-string.c,v 1.8 2008-12-08 16:19:51 nicm Exp $ */
 | 
			
		||||
/* $Id: cmd-string.c,v 1.9 2008-12-10 19:50:35 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -132,7 +132,8 @@ cmd_string_parse(const char *s, struct cmd **cmd, char **cause)
 | 
			
		||||
				goto out;
 | 
			
		||||
 | 
			
		||||
			if ((*cmd = cmd_parse(argc, argv, cause)) == NULL)
 | 
			
		||||
				goto error;
 | 
			
		||||
				goto out;
 | 
			
		||||
 		
 | 
			
		||||
			rval = 0;
 | 
			
		||||
			goto out;
 | 
			
		||||
		default:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user