From: wessels <> Date: Sat, 13 Apr 1996 03:15:33 +0000 (+0000) Subject: oops, already have data->entry->mem_obj->fd_of_first_client, don't need X-Git-Tag: SQUID_3_0_PRE1~6198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbf964af5f5cb42ed6a7b41494d373a612e84aa6;p=thirdparty%2Fsquid.git oops, already have data->entry->mem_obj->fd_of_first_client, don't need storePendingFirstFD() --- diff --git a/src/http.cc b/src/http.cc index dfcc9405c4..c7d171874b 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,4 +1,4 @@ -/* $Id: http.cc,v 1.41 1996/04/12 05:15:29 wessels Exp $ */ +/* $Id: http.cc,v 1.42 1996/04/12 21:15:33 wessels Exp $ */ /* * DEBUG: Section 11 http: HTTP @@ -464,7 +464,9 @@ static void httpSendRequest(fd, data) /* Add Forwarded: header */ ybuf = get_free_4k_page(__FILE__,__LINE__); - if ((cfd = storePendingFirstFD(data->entry)) < 0) { + if (data->entry->mem_obj) + cfd = data->entry->mem_obj->fd_of_first_client; + if (cfd < 0) { sprintf(ybuf, "Forwarded: by http://%s:%d/\r\n", getMyHostname(), getAsciiPortNum()); } else {