소스 검색

seas: remove redundant check

Daniel-Constantin Mierla 7 달 전
부모
커밋
ab1b032771
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/modules/seas/ha.c

+ 1 - 1
src/modules/seas/ha.c

@@ -156,7 +156,7 @@ static inline int parse_ping(
 		}
 		string++;
 	}
-	if(!(ping_period_s && pings_lost_s && ping_timeout_s)) {
+	if(!(pings_lost_s && ping_timeout_s)) {
 		LM_ERR("malformed ping config string. Unparseable :[%s]\n", string);
 		return -1;
 	}