]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
warning: initialization from incompatible pointer type
authorwessels <>
Tue, 15 Jul 1997 05:50:17 +0000 (05:50 +0000)
committerwessels <>
Tue, 15 Jul 1997 05:50:17 +0000 (05:50 +0000)
src/gopher.cc

index ca315232e05fe52e29f2b808eae0c3438093e210..e5a4c77c76b2a6f15588293b7d0c52a193b671fc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: gopher.cc,v 1.87 1997/07/14 23:45:00 wessels Exp $
+ * $Id: gopher.cc,v 1.88 1997/07/14 23:50:17 wessels Exp $
  *
  * DEBUG: section 10    Gopher
  * AUTHOR: Harvest Derived
@@ -913,9 +913,8 @@ static void
 gopherConnectDone(int fd, int status, void *data)
 {
     GopherStateData *gopherState = data;
-    request_t *request = gopherState->request;
     if (status == COMM_ERR_DNS) {
-       debug(10, 4) ("gopherConnectDone: Unknown host: %s\n", request->host);
+       debug(10, 4) ("gopherConnectDone: Unknown host: %s\n", gopherState->host);
        storeAbort(gopherState->entry, ERR_DNS_FAIL, dns_error_message, 0);
        comm_close(fd);
     } else if (status != COMM_OK) {