Module: sip-router
Branch: master
Commit: bf7bb14b806596e752226369ab82bb3a66fadf0b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bf7bb14…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)iptel.org>
Date: Tue Mar 17 17:42:05 2009 +0100
Update to the refurbished event parser.
event->text has been renamed to event->name in parse_event.h
---
select_core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/select_core.c b/select_core.c
index 387d0e4..7852940 100644
--- a/select_core.c
+++ b/select_core.c
@@ -874,7 +874,7 @@ int select_event(str* res, select_t* s, struct sip_msg* msg)
return -1;
}
- *res = ((event_t*)msg->event->parsed)->text;
+ *res = ((event_t*)msg->event->parsed)->name;
return 0;
}