summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mktrayicon.c5
1 files changed, 0 insertions, 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;
bgstack15