Browse Source

seas: remove redundant check

Daniel-Constantin Mierla 7 tháng trước cách đây
mục cha
commit
ab1b032771
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 	}