Flush stdout when using -print
This ensures writes happen on every new notification when output is redirected to a file. Closes #794
This commit is contained in:
		
							parent
							
								
									a89287cb3e
								
							
						
					
					
						commit
						0e6997b6fc
					
				| @ -98,6 +98,7 @@ void notification_print(const struct notification *n) | |||||||
|                 printf("\n"); |                 printf("\n"); | ||||||
|         } |         } | ||||||
|         printf("}\n"); |         printf("}\n"); | ||||||
|  |         fflush(stdout); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /* see notification.h */ | /* see notification.h */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis