From e8122c14080dee0640091b52e171abeed4dd03ff Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Thu, 24 Oct 2019 13:47:18 -0400 Subject: Remove debug prints --- mktrayicon.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mktrayicon.c b/mktrayicon.c index b6c456c..f815bb7 100644 --- a/mktrayicon.c +++ b/mktrayicon.c @@ -111,14 +111,11 @@ gpointer watch_fifo(gpointer argv) /* inner is for read */ while (1) { - fprintf(stderr, "reading\n"); read = fgets(buf, 1024 * sizeof(char), fifo); - fprintf(stderr, "read\n"); if (read == NULL) { /* no more data in pipe, reopen and block */ fclose(fifo); - fprintf(stderr, "closed\n"); goto outer; } @@ -129,12 +126,10 @@ gpointer watch_fifo(gpointer argv) if (*read == '\0') { /* empty command */ - fprintf(stderr, "empty\n"); continue; } cmd = *read; - fprintf(stderr, "cmd %c\n", cmd); len = strlen(read); if (len < 3) { param = NULL; -- cgit