From 45850d17da50bb5d7e79c2d1a84f476ac2c8745f Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Mon, 4 Jul 2016 13:27:32 +0000 Subject: [PATCH] Fix typo (= vs ==) --- src/actions/allow.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/actions/allow.h b/src/actions/allow.h index 926c10c2..e8ac4ac3 100644 --- a/src/actions/allow.h +++ b/src/actions/allow.h @@ -64,11 +64,11 @@ class Allow : public Action { static std::string allowTypeToName (AllowType a) { if (a == NoneAllowType) { return "None"; - } else if (a = RequestAllowType) { + } else if (a == RequestAllowType) { return "Request"; - } else if (a = PhaseAllowType) { + } else if (a == PhaseAllowType) { return "Phase"; - } else if (a = FromNowOneAllowType) { + } else if (a == FromNowOneAllowType) { return "FromNowOne"; } else { return "Unknown";