Fix segfault when using tincctl's shell without readline.
This commit is contained in:
		
							parent
							
								
									b332bd9646
								
							
						
					
					
						commit
						d18519ae21
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1916,7 +1916,7 @@ static int cmd_shell(int argc, char *argv[]) { | |||
| 		} | ||||
| #else | ||||
| 		if(tty) | ||||
| 			fputs(stdout, prompt); | ||||
| 			fputs(prompt, stdout); | ||||
| 
 | ||||
| 		line = fgets(buf, sizeof buf, stdin); | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue