Browse code

HDR_EVEN and HDR_EXPIRES added

Jan Janak authored on 12/08/2002 12:12:33
Showing 1 changed files
... ...
@@ -10,6 +10,8 @@
10 10
 #include "../mem/mem.h"
11 11
 #include "parse_def.h"
12 12
 #include "digest/digest.h" /* free_credentials */
13
+#include "parse_event.h"
14
+#include "parse_expires.h"
13 15
 
14 16
 
15 17
 /* 
... ...
@@ -41,6 +43,14 @@ void clean_hdr_field(struct hdr_field* hf)
41 41
 			free_to(hf->parsed);
42 42
 			break;
43 43
 
44
+		case HDR_EVENT:
45
+			free_event((event_t**)(&(hf->parsed)));
46
+			break;
47
+
48
+		case HDR_EXPIRES:
49
+			free_expires((exp_body_t**)(&(hf->parsed)));
50
+			break;
51
+
44 52
 		default:
45 53
 			LOG(L_CRIT, "BUG: clean_hdr_field: unknown header type %d\n",
46 54
 			    hf->type);