Browse code

- bug fixed in setting EVENT header shortcut (repoted by Norman Brandinger)

Bogdan-Andrei Iancu authored on 05/02/2005 09:17:04
Showing 1 changed files
... ...
@@ -364,7 +364,7 @@ int parse_headers(struct sip_msg* msg, int flags, int next)
364 364
 				msg->parsed_flag|=HDR_ALLOW;
365 365
 				break;
366 366
 			case HDR_EVENT:
367
-				if (msg->allow==0) msg->event = hf;
367
+				if (msg->event==0) msg->event = hf;
368 368
 				msg->parsed_flag|=HDR_EVENT;
369 369
 				break;
370 370
 		        case HDR_ACCEPT: