Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: commits

[3415] cherokee/trunk/cherokee/vrule_target_ip.c: Bug fix: It had to copy the length instead of the whole structure.

 

 

Cherokee commits RSS feed   Index | Next | Previous | View Threaded


cherokee at cherokee-project

Jul 2, 2009, 1:40 AM

Post #1 of 1 (86 views)
Permalink
[3415] cherokee/trunk/cherokee/vrule_target_ip.c: Bug fix: It had to copy the length instead of the whole structure.

Revision: 3415
http://svn.cherokee-project.com/changeset/3415
Author: alo
Date: 2009-07-02 10:40:44 +0200 (Thu, 02 Jul 2009)

Log Message:
-----------
Bug fix: It had to copy the length instead of the whole structure.

Modified Paths:
--------------
cherokee/trunk/cherokee/vrule_target_ip.c

Modified: cherokee/trunk/cherokee/vrule_target_ip.c
===================================================================
--- cherokee/trunk/cherokee/vrule_target_ip.c 2009-07-02 08:18:40 UTC (rev 3414)
+++ cherokee/trunk/cherokee/vrule_target_ip.c 2009-07-02 08:40:44 UTC (rev 3415)
@@ -49,7 +49,7 @@

/* Copy the server IP
*/
- sock.client_addr = conn->socket.client_addr;
+ sock.client_addr_len = conn->socket.client_addr_len;

re = getsockname (SOCKET_FD(&conn->socket),
(struct sockaddr *) &(sock.client_addr),

Cherokee commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.