Diff for /embedaddon/mpd/src/console.c between versions 1.1.1.1 and 1.1.1.2

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"));
       }        }

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>