Commit 9c305c87 authored by Ghislain MARY's avatar Ghislain MARY

Use POLLIN instead of POLL_IN.

parent 3a335de8
......@@ -781,11 +781,11 @@ static void mediastream_tool_iterate(MediastreamDatas* args) {
if (args->interactive){
pfd.fd=STDIN_FILENO;
pfd.events=POLL_IN;
pfd.events=POLLIN;
pfd.revents=0;
err=poll(&pfd,1,10);
if (err==1 && (pfd.revents & POLL_IN)){
if (err==1 && (pfd.revents & POLLIN)){
char commands[128];
int intarg;
commands[127]='\0';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment