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/11/28 08:28:21 UTC

svn commit: r1414562 - /tomcat/native/branches/1.1.x/native/src/poll.c

Author: mturk
Date: Wed Nov 28 07:28:20 2012
New Revision: 1414562

URL: http://svn.apache.org/viewvc?rev=1414562&view=rev
Log:
Fix typo in --enable-maintainer-mode

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=1414562&r1=1414561&r2=1414562&view=diff
==============================================================================
--- tomcat/native/branches/1.1.x/native/src/poll.c (original)
+++ tomcat/native/branches/1.1.x/native/src/poll.c Wed Nov 28 07:28:20 2012
@@ -168,7 +168,6 @@ static apr_status_t do_add(tcn_pollset_t
                            apr_interval_time_t socket_timeout)
 {
 
-    apr_int32_t  i;
     apr_status_t rv;
     apr_interval_time_t timeout = socket_timeout;
     tcn_pfde_t *elem = NULL;
@@ -183,7 +182,7 @@ static apr_status_t do_add(tcn_pollset_t
         /* Socket is already added to the pollset.
          */
 #ifdef TCN_DO_STATISTICS
-        sp_equals++;
+        p->sp_equals++;
 #endif
         return APR_EEXIST;
     }



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


Re: svn commit: r1414562 - /tomcat/native/branches/1.1.x/native/src/poll.c

Posted by Mladen Turk <mt...@apache.org>.
On 11/28/2012 06:51 PM, jean-frederic clere wrote:
> On 11/28/2012 08:28 AM, mturk@apache.org wrote:
>> Author: mturk
>> Date: Wed Nov 28 07:28:20 2012
>> New Revision: 1414562
>>
>> URL: http://svn.apache.org/viewvc?rev=1414562&view=rev
>> Log:
>> Fix typo in --enable-maintainer-mode
>
> The comment doesn't fit the commit ;-)
>

Hehe, probably its should have been
Fix typo in code which break compie *when* --enable-maintainer-mode is used at configure time.


Cheers
-- 
^TM

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


Re: svn commit: r1414562 - /tomcat/native/branches/1.1.x/native/src/poll.c

Posted by jean-frederic clere <jf...@gmail.com>.
On 11/28/2012 08:28 AM, mturk@apache.org wrote:
> Author: mturk
> Date: Wed Nov 28 07:28:20 2012
> New Revision: 1414562
>
> URL: http://svn.apache.org/viewvc?rev=1414562&view=rev
> Log:
> Fix typo in --enable-maintainer-mode

The comment doesn't fit the commit ;-)

Cheers

Jean-Frederic

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