author | R. Bernstein <rocky@gnu.org> | 2017年12月29日 20:59:45 -0500 |
---|---|---|
committer | R. Bernstein <rocky@gnu.org> | 2017年12月29日 20:59:45 -0500 |
commit | 8980bdebcb68916d2b2aea91b9d76e83a1a3c574 (patch) | |
tree | 0170babc6260151ffd81b6855dc39532ec38552b /src/cdda-player.c | |
parent | b2a881e9ea77dbf9ee77a6d642fc56d75b3179cc (diff) | |
download | libcdio-8980bdebcb68916d2b2aea91b9d76e83a1a3c574.tar.gz |
-rw-r--r-- | src/cdda-player.c | 3 |
diff --git a/src/cdda-player.c b/src/cdda-player.c index 1479501b..6136a941 100644 --- a/src/cdda-player.c +++ b/src/cdda-player.c @@ -269,7 +269,6 @@ select_wait(int sec) fd_set se; FD_ZERO(&se); - FD_SET(0,&se); tv.tv_sec = sec; tv.tv_usec = 0; return select(1,&se,NULL,NULL,&tv); @@ -288,7 +287,7 @@ action(const char *psz_action) } if (!psz_action) - psz_action = psz_action_line; + ; else if (psz_action && strlen(psz_action)) snprintf(psz_action_line, sizeof(psz_action_line), "action : %s", psz_action); |