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
767b9137
Commit
767b9137
authored
May 17, 2009
by
JP Dinger
Committed by
Rémi Denis-Courmont
May 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
b7f934a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
projects/mozilla/vlcplugin.cpp
projects/mozilla/vlcplugin.cpp
+2
-4
No files found.
projects/mozilla/vlcplugin.cpp
View file @
767b9137
...
...
@@ -476,7 +476,7 @@ relativeurl:
if
(
href
)
{
/* prepend base URL */
strcpy
(
href
,
psz_baseURL
);
memcpy
(
href
,
psz_baseURL
,
baseLen
+
1
);
/*
** relative url could be empty,
...
...
@@ -491,7 +491,7 @@ relativeurl:
/* skip over protocol part */
char
*
pathstart
=
strchr
(
href
,
':'
);
char
*
pathend
;
char
*
pathend
=
href
+
baseLen
;
if
(
pathstart
)
{
if
(
'/'
==
*
(
++
pathstart
)
)
...
...
@@ -503,7 +503,6 @@ relativeurl:
}
/* skip over host part */
pathstart
=
strchr
(
pathstart
,
'/'
);
pathend
=
href
+
baseLen
;
if
(
!
pathstart
)
{
// no path, add a / past end of url (over '\0')
...
...
@@ -521,7 +520,6 @@ relativeurl:
return
NULL
;
}
pathstart
=
href
;
pathend
=
href
+
baseLen
;
}
/* relative URL made of an absolute path ? */
...
...
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