소스 검색

presence: fixed bug in taking the parsed event structure

Daniel-Constantin Mierla 16 년 전
부모
커밋
aeb3faa191
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules_k/presence/publish.c

+ 1 - 1
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;