ext/kcar/kcar.c in kcar-0.4.0 vs ext/kcar/kcar.c in kcar-0.5.0

- old
+ new

@@ -1,11 +1,12 @@ #line 1 "kcar.rl" /** * Copyright (c) 2009, 2010 Eric Wong (all bugs are Eric's fault) * Copyright (c) 2005 Zed A. Shaw - * You can redistribute it and/or modify it under the same terms as Ruby. + * You can redistribute it and/or modify it under the same terms as Ruby 1.8 + * or the GPLv2 or later. */ #include "ruby.h" #include "ext_help.h" #include <assert.h> #include <stdlib.h> @@ -33,10 +34,9 @@ /* Defines the maximum allowed lengths for various input elements.*/ DEF_MAX_LENGTH(FIELD_NAME, 256); DEF_MAX_LENGTH(FIELD_VALUE, 80 * 1024); DEF_MAX_LENGTH(HEADER, (1024 * (80 + 32))); -DEF_MAX_LENGTH(REASON, 256); #define UH_FL_CHUNKED 0x1 #define UH_FL_HASBODY 0x2 #define UH_FL_INBODY 0x4 #define UH_FL_HASTRAILER 0x8