Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
5f588537
Commit
5f588537
authored
Sep 29, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HTTP interface: fix infinite loop
parent
0a7af0d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
share/lua/intf/modules/httprequests.lua
share/lua/intf/modules/httprequests.lua
+1
-1
No files found.
share/lua/intf/modules/httprequests.lua
View file @
5f588537
...
@@ -52,7 +52,6 @@ function strsplit(text, delimiter)
...
@@ -52,7 +52,6 @@ function strsplit(text, delimiter)
end
end
local
i
=
1
local
i
=
1
while
1
do
while
1
do
i
=
i
+
1
local
first
,
last
=
strfind
(
text
,
delimiter
,
pos
)
local
first
,
last
=
strfind
(
text
,
delimiter
,
pos
)
if
first
then
-- found?
if
first
then
-- found?
tinsert
(
list
,
i
,
strsub
(
text
,
pos
,
first
-
1
))
tinsert
(
list
,
i
,
strsub
(
text
,
pos
,
first
-
1
))
...
@@ -61,6 +60,7 @@ function strsplit(text, delimiter)
...
@@ -61,6 +60,7 @@ function strsplit(text, delimiter)
tinsert
(
list
,
i
,
strsub
(
text
,
pos
))
tinsert
(
list
,
i
,
strsub
(
text
,
pos
))
break
break
end
end
i
=
i
+
1
end
end
return
list
return
list
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment