You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2012/05/29 10:56:32 UTC
svn commit: r1343605 - /tomcat/native/branches/1.1.x/native/src/poll.c
Author: mturk
Date: Tue May 29 08:56:31 2012
New Revision: 1343605
URL: http://svn.apache.org/viewvc?rev=1343605&view=rev
Log:
Fix array copy
Modified:
tomcat/native/branches/1.1.x/native/src/poll.c
Modified: tomcat/native/branches/1.1.x/native/src/poll.c
URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/poll.c?rev=1343605&r1=1343604&r2=1343605&view=diff
==============================================================================
--- tomcat/native/branches/1.1.x/native/src/poll.c (original)
+++ tomcat/native/branches/1.1.x/native/src/poll.c Tue May 29 08:56:31 2012
@@ -243,7 +243,7 @@ static apr_status_t do_remove(tcn_pollse
p->socket_set[dst] = p->socket_set[i];
ds->last_active = ss->last_active;
ds->timeout = ss->timeout;
- dst++;
+ ds = (tcn_socket_t *)p->socket_set[++dst].client_data;
}
}
break;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org