[nginx] svn commit: r5173 - trunk/src/event/modules

vbart at nginx.com vbart at nginx.com
Fri Apr 12 17:31:08 UTC 2013


Author: vbart
Date: 2013-04-12 17:31:08 +0000 (Fri, 12 Apr 2013)
New Revision: 5173
URL: http://trac.nginx.org/nginx/changeset/5173/nginx

Log:
Events: fixed typos in two previous commits.


Modified:
   trunk/src/event/modules/ngx_devpoll_module.c
   trunk/src/event/modules/ngx_eventport_module.c

Modified: trunk/src/event/modules/ngx_devpoll_module.c
===================================================================
--- trunk/src/event/modules/ngx_devpoll_module.c	2013-04-12 15:04:23 UTC (rev 5172)
+++ trunk/src/event/modules/ngx_devpoll_module.c	2013-04-12 17:31:08 UTC (rev 5173)
@@ -514,7 +514,7 @@
 
                 rev->handler(rev);
 
-                if (c->fd == -1 || wev->instance != instance) {
+                if (c->fd == -1 || rev->instance != instance) {
                     continue;
                 }
             }

Modified: trunk/src/event/modules/ngx_eventport_module.c
===================================================================
--- trunk/src/event/modules/ngx_eventport_module.c	2013-04-12 15:04:23 UTC (rev 5172)
+++ trunk/src/event/modules/ngx_eventport_module.c	2013-04-12 17:31:08 UTC (rev 5173)
@@ -534,7 +534,7 @@
                 revents &= ~POLLIN;
             }
 
-            if (!wew->active) {
+            if (!wev->active) {
                 revents &= ~POLLOUT;
             }
 



More information about the nginx-devel mailing list