You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ok...@apache.org on 2017/08/29 08:01:50 UTC

[trafficserver] branch master updated: Coverity CID 1380022: FORWARD_NULL

This is an automated email from the ASF dual-hosted git repository.

oknet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new dc6e7ea  Coverity CID 1380022: FORWARD_NULL
dc6e7ea is described below

commit dc6e7ea9604853ae11a328724420d80601c4262f
Author: Oknet Xu <xu...@skyguard.com.cn>
AuthorDate: Tue Aug 29 15:01:45 2017 +0800

    Coverity CID 1380022: FORWARD_NULL
---
 iocore/net/UnixNetVConnection.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/UnixNetVConnection.cc b/iocore/net/UnixNetVConnection.cc
index 81c707c..25e1582 100644
--- a/iocore/net/UnixNetVConnection.cc
+++ b/iocore/net/UnixNetVConnection.cc
@@ -1145,7 +1145,7 @@ UnixNetVConnection::acceptEvent(int event, Event *e)
   PollDescriptor *pd = get_PollDescriptor(thread);
   if (ep.start(pd, this, EVENTIO_READ | EVENTIO_WRITE) < 0) {
     Debug("iocore_net", "acceptEvent : failed EventIO::start");
-    close_UnixNetVConnection(this, e->ethread);
+    close_UnixNetVConnection(this, t);
     return EVENT_DONE;
   }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].