Skip to content

Commit

Permalink
Update M3U8.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
vynxc authored Jan 15, 2024
1 parent 89ff2d1 commit 990e31c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions M3U8Proxy/Controllers/M3U8.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private bool IsPlaylistM3U8(string[] lines)
{
var isPlaylistM3U8 = false;

for (var i = 0; i < lines.Length || i < 10; i++)
for (var i = 0; i < lines.Length && i < 10; i++)
{
for (var j = 0; j < _listOfKeywords.Count; j++)
{
Expand All @@ -131,4 +131,4 @@ public static string GenerateRandomId(int length)
return new string(Enumerable.Repeat(chars, length)
.Select(s => s[random.Next(s.Length)]).ToArray());
}
}
}

0 comments on commit 990e31c

Please sign in to comment.