Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DelEntry() fix in WildcardMatch module. #983

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ajamshed
Copy link
Contributor

This small patch fixes DelEntry routine that is invoked by
CommandDelete() function. Hashtable's Remove function returns
false on failure. The conditional expression that captures this
event is incorrect (if condition in line 306 fails). This patch
uses boolean variables to fix this issue.

Signed-off-by: Muhammad Asim Jamshed [email protected]

@codecov
Copy link

codecov bot commented May 24, 2020

Codecov Report

Merging #983 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #983   +/-   ##
=======================================
  Coverage   55.53%   55.53%           
=======================================
  Files           9        9           
  Lines        1165     1165           
=======================================
  Hits          647      647           
  Misses        518      518           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6786d37...04975b4. Read the comment docs.

This small patch fixes DelEntry routine that is invoked by
CommandDelete() function. Hashtable's Remove function returns
false on failure. The conditional expression that captures this
event is incorrect (if condition in line 306 fails). This patch
uses boolean variables to fix this issue.

Signed-off-by: Muhammad Asim Jamshed <[email protected]>
Signed-off-by: Saikrishna Edupuganti <[email protected]>
@ajamshed ajamshed force-pushed the topics/fix_wildcard_remove_tuple_op branch from 894c47d to 04975b4 Compare May 25, 2020 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant