emotion/generic: There's no need to check the standard output.
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 6 Sep 2011 21:15:36 +0000 (21:15 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 6 Sep 2011 21:15:36 +0000 (21:15 +0000)
The player stdout is not used anymore to read commands from.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63233 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/generic/emotion_generic.c

index be63f06..57bac90 100644 (file)
@@ -675,12 +675,6 @@ _player_data_cb(void *data, int type __UNUSED__, void *event)
        return ECORE_CALLBACK_DONE;
      }
 
-   if (ev->size < 4)
-     {
-       ERR("invalid command: missing bytes.");
-       return ECORE_CALLBACK_DONE;
-     }
-
    for (i = 0; ev->lines[i].line; i++)
      INF("received input from player: \"%s\"", ev->lines[i].line);