kike: fix a minor issue in on_signal_pipe_readable
This commit is contained in:
		
							parent
							
								
									9cfe4a5a49
								
							
						
					
					
						commit
						4d7a74b890
					
				
							
								
								
									
										2
									
								
								kike.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								kike.c
									
									
									
									
									
								
							| @ -3830,7 +3830,7 @@ irc_setup_listen_fds (struct server_context *ctx, struct error **e) | |||||||
| static void | static void | ||||||
| on_signal_pipe_readable (const struct pollfd *fd, struct server_context *ctx) | on_signal_pipe_readable (const struct pollfd *fd, struct server_context *ctx) | ||||||
| { | { | ||||||
| 	char *dummy; | 	char dummy; | ||||||
| 	(void) read (fd->fd, &dummy, 1); | 	(void) read (fd->fd, &dummy, 1); | ||||||
| 
 | 
 | ||||||
| 	if (g_termination_requested && !ctx->quitting) | 	if (g_termination_requested && !ctx->quitting) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user