changeset 21541:3b4ed8857b38

Fix potential endless loop in http_streaming_start due to not resetting redirect.
author reimar
date Sat, 09 Dec 2006 19:34:46 +0000
parents 147c1c305f21
children 0c19aa6f8e4e
files stream/http.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/http.c	Sat Dec 09 19:33:28 2006 +0000
+++ b/stream/http.c	Sat Dec 09 19:34:46 2006 +0000
@@ -731,6 +731,7 @@
 
 	do
 	{
+		redirect = 0;
 		if (fd > 0) closesocket(fd);
 		fd = http_send_request( url, 0 );
 		if( fd<0 ) {