[MPlayer-cvslog] r37713 - trunk/stream/stream_netstream.c

reimar subversion at mplayerhq.hu
Sat Feb 13 19:07:22 CET 2016


Author: reimar
Date: Sat Feb 13 19:07:22 2016
New Revision: 37713

Log:
stream_netstream: fix locking EAGAIN handling.

Modified:
   trunk/stream/stream_netstream.c

Modified: trunk/stream/stream_netstream.c
==============================================================================
--- trunk/stream/stream_netstream.c	Sat Feb 13 18:57:53 2016	(r37712)
+++ trunk/stream/stream_netstream.c	Sat Feb 13 19:07:22 2016	(r37713)
@@ -104,7 +104,8 @@ static int lock_fd(int fd) {
 	     strerror(errno));
       return 0;
     }
-  } while(0);
+    break;
+  } while(1);
   mp_msg(MSGT_STREAM,MSGL_DBG2, "Locked (%d)\n",getpid());
 #else
 printf("FIXME? should lock here\n");


More information about the MPlayer-cvslog mailing list