From e416d34f1f3cb291fa164e00f531ba52dde47678 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Fri, 6 Jul 2018 13:46:06 -0700 Subject: [PATCH] bug fix for set intersection --- src/Val.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Val.cc b/src/Val.cc index d6bcdae4a6..48458254f1 100644 --- a/src/Val.cc +++ b/src/Val.cc @@ -1734,9 +1734,9 @@ TableVal* TableVal::Intersect(const TableVal* tv) const // Figure out which is smaller. if ( t1->Length() > t2->Length() ) { // Swap. - const PDict(TableEntryVal)* t3 = t1; + const PDict(TableEntryVal)* tmp = t1; t1 = t2; - t2 = t3; + t2 = tmp; } IterCookie* c = t1->InitForIteration();