tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1203775 - /tomcat/jk/trunk/native/common/jk_ajp_common.c
Date Fri, 18 Nov 2011 18:08:24 GMT
Author: mturk
Date: Fri Nov 18 18:08:23 2011
New Revision: 1203775

URL: http://svn.apache.org/viewvc?rev=1203775&view=rev
Log:
Use correct socket type

Modified:
    tomcat/jk/trunk/native/common/jk_ajp_common.c

Modified: tomcat/jk/trunk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_ajp_common.c?rev=1203775&r1=1203774&r2=1203775&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_ajp_common.c (original)
+++ tomcat/jk/trunk/native/common/jk_ajp_common.c Fri Nov 18 18:08:23 2011
@@ -1079,7 +1079,7 @@ void jk_ajp_pull(ajp_worker_t * aw, int 
                  * Note that this won't change active connections.
                  */
                 if (IS_SLOT_AVAIL(aw->ep_cache[i]) && IS_VALID_SOCKET(aw->ep_cache[i]->sd))
{
-                    int sd = aw->ep_cache[i]->sd;
+                    jk_sock_t sd = aw->ep_cache[i]->sd;
                     aw->ep_cache[i]->sd = JK_INVALID_SOCKET;
                     aw->ep_cache[i]->addr_sequence = aw->addr_sequence;
                     jk_shutdown_socket(sd, l);
@@ -1138,7 +1138,7 @@ void jk_ajp_push(ajp_worker_t * aw, int 
             /* Close all connections in the cache
              */
             if (IS_SLOT_AVAIL(aw->ep_cache[i]) && IS_VALID_SOCKET(aw->ep_cache[i]->sd))
{
-                int sd = aw->ep_cache[i]->sd;
+                jk_sock_t sd = aw->ep_cache[i]->sd;
                 aw->ep_cache[i]->sd = JK_INVALID_SOCKET;
                 aw->ep_cache[i]->addr_sequence = aw->addr_sequence;
                 jk_shutdown_socket(sd, l);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message