- Lauri
>From 0528781997eb5c2b66a510b75532f1a182d13e46 Mon Sep 17 00:00:00 2001
From: Lauri Kasanen <[email protected]>
Date: Thu, 3 May 2012 15:23:00 +0300
Subject: [PATCH 4/6] request: Remove always-true if


Signed-off-by: Lauri Kasanen <[email protected]>
---
 src/mk_request.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/mk_request.c b/src/mk_request.c
index 807d3c9..9864ed6 100644
--- a/src/mk_request.c
+++ b/src/mk_request.c
@@ -337,9 +337,7 @@ static int mk_request_parse(struct client_session *cs)
             offset = end + mk_endblock.len;
             sr_node->data = mk_method_get_data(cs->body + offset,
                                                cs->body_length - offset);
-            if (sr_node->data.len >= 0) {
-                i += sr_node->data.len;
-            }
+            i += sr_node->data.len;
         }
 
         /* Increase index to the end of the current block */
-- 
1.7.2.1

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to