Revision: 14308
Author: adrian.chadd
Date: Tue Sep 29 22:27:40 2009
Log: Explicitly initialise out_ip to INADDR_ANY (0.0.0.0); mirroring the  
current code behaviour.


http://code.google.com/p/lusca-cache/source/detail?r=14308

Modified:
  /branches/LUSCA_HEAD/src/HttpRequest.c

=======================================
--- /branches/LUSCA_HEAD/src/HttpRequest.c      Fri Jan 30 20:10:26 2009
+++ /branches/LUSCA_HEAD/src/HttpRequest.c      Tue Sep 29 22:27:40 2009
@@ -56,6 +56,7 @@
        stringReset(&req->urlpath, urlpath);
      req->max_forwards = -1;
      req->lastmod = -1;
+    SetAnyAddr(&req->out_ip);
      SetNoAddr(&req->client_addr);
      SetNoAddr(&req->my_addr);
      httpHeaderInit(&req->header, hoRequest);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to