[xiph-commits] r9530 - icecast/trunk/libshout/src
brendan at svn.xiph.org
brendan at svn.xiph.org
Mon Jun 27 14:52:08 PDT 2005
Author: brendan
Date: 2005-06-27 14:52:06 -0700 (Mon, 27 Jun 2005)
New Revision: 9530
Modified:
icecast/trunk/libshout/src/shout.c
Log:
Committed part of Karl's patch to prevent data from being resent on
EAGAIN. The second part of it I'm not sure about... I think maybe the
callers need to be fixed to check self->error instead of the return
value.
Modified: icecast/trunk/libshout/src/shout.c
===================================================================
--- icecast/trunk/libshout/src/shout.c 2005-06-27 11:41:20 UTC (rev 9529)
+++ icecast/trunk/libshout/src/shout.c 2005-06-27 21:52:06 UTC (rev 9530)
@@ -1017,7 +1017,7 @@
if (sock_recoverable (sock_error()))
{
self->error = SHOUTERR_BUSY;
- return 0;
+ return pos;
}
self->error = SHOUTERR_SOCKET;
return ret;
More information about the commits
mailing list