X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=common%2Fhttest.c;h=a3ea649bf614aadebb1dd1d5d117a2b85fcdb9dd;hb=78ba3ee1d71032a1325036d5cefa8d0549d76ccd;hp=d04c7a2c88b499016499b8ee77dfabb3a8cf9821;hpb=de760c32656215930e4fc83830a5bdedbb185d73;p=doldaconnect.git diff --git a/common/httest.c b/common/httest.c index d04c7a2..a3ea649 100644 --- a/common/httest.c +++ b/common/httest.c @@ -1,6 +1,6 @@ /* * Dolda Connect - Modular multiuser Direct Connect-style client - * Copyright (C) 2007 Fredrik Tolf (fredrik@dolda2000.com) + * Copyright (C) 2007 Fredrik Tolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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);