소스 검색

pua: added breaks to event type matching switch

Daniel-Constantin Mierla 7 달 전
부모
커밋
a2ae4fe607
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/modules/pua/hash.h

+ 2 - 0
src/modules/pua/hash.h

@@ -178,9 +178,11 @@ static inline int get_event_flag(str *event)
 		case 15:
 			if(strncmp(event->s, "message-summary", 15) == 0)
 				return MSGSUM_EVENT;
+			break;
 		case 16:
 			if(strncmp(event->s, "as-feature-event", 16) == 0)
 				return DFKS_EVENT;
+			break;
 	}
 
 	LM_ERR("Unknown event string\n");