diff options
author | Jon Gjengset <jon@thesquareplanet.com> | 2019-10-24 13:47:18 -0400 |
---|---|---|
committer | Jon Gjengset <jon@thesquareplanet.com> | 2019-10-24 13:47:18 -0400 |
commit | e8122c14080dee0640091b52e171abeed4dd03ff (patch) | |
tree | 0544e2a6a90ee4f50787b46cd28fda6ea125a8c2 /mktrayicon.c | |
parent | Handle newlines in params (diff) | |
download | mktrayicon-e8122c14080dee0640091b52e171abeed4dd03ff.tar.gz mktrayicon-e8122c14080dee0640091b52e171abeed4dd03ff.tar.bz2 mktrayicon-e8122c14080dee0640091b52e171abeed4dd03ff.zip |
Remove debug prints
Diffstat (limited to 'mktrayicon.c')
-rw-r--r-- | mktrayicon.c | 5 |
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; |