X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=blobdiff_plain;f=common%2Fhttest.c;h=a3ea649bf614aadebb1dd1d5d117a2b85fcdb9dd;hp=60a67f69b46aba8e4bce91545cb4f70a3452eea8;hb=78ba3ee1d71032a1325036d5cefa8d0549d76ccd;hpb=48c745c539c41b0993ef3fd0c2c8ffb62afac9f7 diff --git a/common/httest.c b/common/httest.c index 60a67f6..a3ea649 100644 --- a/common/httest.c +++ b/common/httest.c @@ -94,6 +94,7 @@ void get(char *url) } c = htconnect(u); freeurl(u); + c->autoredir = 1; while(1) { pfd.fd = c->fd; pfd.events = htpollflags(c);