- Lauri
>From 72f4c02b0c0627102431a364e17d2882e7bd1891 Mon Sep 17 00:00:00 2001
From: Lauri Kasanen <[email protected]>
Date: Fri, 8 Jun 2012 15:04:38 +0300
Subject: [PATCH 2/2] request: body_size and body_length can't be negative


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

diff --git a/src/include/mk_request.h b/src/include/mk_request.h
index 873ba39..ee02a8d 100644
--- a/src/include/mk_request.h
+++ b/src/include/mk_request.h
@@ -246,8 +246,8 @@ struct client_session
     /* Initial fixed size buffer for small requests */
     char body_fixed[MK_REQUEST_CHUNK];
 
-    int body_size;
-    int body_length;
+    unsigned int body_size;
+    unsigned int body_length;
 
     int body_pos_end;
     int first_method;
-- 
1.7.2.1

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

Reply via email to