Module: sip-router Branch: master Commit: aeb3faa191f3cad69b1f4179889279dc19aa4bd6 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aeb3faa1...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Wed May 6 20:52:32 2009 +0200
presence: fixed bug in taking the parsed event structure
---
modules_k/presence/publish.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/presence/publish.c b/modules_k/presence/publish.c index bb7c653..a329433 100644 --- a/modules_k/presence/publish.c +++ b/modules_k/presence/publish.c @@ -334,7 +334,7 @@ int handle_publish(struct sip_msg* msg, char* sender_uri, char* str2) goto unsupported_event;
/* search event in the list */ - event= search_event((event_t*)msg->event->type); + event= search_event((event_t*)msg->event->parsed); if(event== NULL) { goto unsupported_event;