Return to console.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / src |
version 1.1.1.1, 2012/02/21 23:32:47 | version 1.1.1.2, 2013/07/22 08:44:29 |
---|---|
Line 376 ConsoleSessionReadEvent(int type, void *cookie) | Line 376 ConsoleSessionReadEvent(int type, void *cookie) |
goto out; | goto out; |
Perror("CONSOLE: Error while reading"); | Perror("CONSOLE: Error while reading"); |
} else { | } else { |
if (cs->fd == 0) | if (cs->fd == 0 && isatty(cs->fd)) |
goto out; | goto out; |
Log(LG_ERR, ("CONSOLE: Connection closed by peer")); | Log(LG_ERR, ("CONSOLE: Connection closed by peer")); |
} | } |