openbsd-ports/net/rtmpdump/patches/patch-rtmpdump_c
sthen dc3f15e2bd - handle newer rtmp servers; from upstream SVN via Nigel Taylor
- fix the inclusion order of network headers (netinet/in.h before arpa/inet.h)
2011-03-21 09:46:31 +00:00

13 lines
458 B
Plaintext

$OpenBSD: patch-rtmpdump_c,v 1.1 2011/03/21 09:46:31 sthen Exp $
--- rtmpdump.c.orig Wed Jun 30 20:58:35 2010
+++ rtmpdump.c Sun Mar 20 19:11:50 2011
@@ -583,7 +583,7 @@ Download(RTMP * rtmp, // connected RTMP object
#endif
}
- while (!RTMP_ctrlC && nRead > -1 && RTMP_IsConnected(rtmp));
+ while (!RTMP_ctrlC && nRead > -1 && RTMP_IsConnected(rtmp) && !RTMP_IsTimedout(rtmp));
free(buffer);
if (nRead < 0)
nRead = rtmp->m_read.status;