commit e4245d88e28d9678980593809e367bab82f1275c
parent e56ae2fb3292a76fa2328beb55bc586c371f9ca3
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 4 Dec 2019 09:06:25 +0100
static
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
@@ -829,7 +829,7 @@ read_keyboard_command (void *cls)
static void
start_read_keyboard ()
{
- struct GNUNET_DISK_FileHandle fh = { STDIN_FILENO };
+ static struct GNUNET_DISK_FileHandle fh = { STDIN_FILENO };
GNUNET_assert (NULL == keyboard_task);
for (unsigned int i = 0; i < products_length; i++)