Commit Diff


commit - dcfc04552702bd38947ab24dc488de8b4cd1275f
commit + 09382ca03134b83cfde50893a20195e2314ddb31
blob - de6c4346bd6a1bdd85fbda2ff41b53e4259cafcd
blob + 709dee401b580e5ae8e78552a7c28e793e081230
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
@@ -578,12 +578,8 @@ gotweb_assign_querystring(struct querystring *qs, char
 			for (a_cnt = 0; a_cnt < nitems(action_keys); a_cnt++) {
 				if (strcmp(value, action_keys[a_cnt].name) != 0)
 					continue;
-				else if (strcmp(value,
-				    action_keys[a_cnt].name) == 0){
-					qs->action =
-					    action_keys[a_cnt].action;
-					goto qa_found;
-				}
+				qs->action = action_keys[a_cnt].action;
+				goto qa_found;
 			}
 			qs->action = ERR;
 qa_found: