Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
1a8f715c
Commit
1a8f715c
authored
Jul 17, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup - invalid #263.
parent
5a0c8ff7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
modules/control/http.c
modules/control/http.c
+10
-4
No files found.
modules/control/http.c
View file @
1a8f715c
...
...
@@ -2305,16 +2305,22 @@ static void MacroDo( httpd_file_sys_t *p_args,
break
;
case
MVLC_STRING
:
psz
=
config_GetPsz
(
p_intf
,
m
->
param1
);
snprintf
(
value
,
sizeof
(
value
),
"%s"
,
psz
?
psz
:
""
);
if
(
psz
)
free
(
psz
);
if
(
psz
!=
NULL
)
{
strncpy
(
value
,
psz
,
sizeof
(
value
)
);
free
(
psz
);
value
[
sizeof
(
value
)
-
1
]
=
'\0'
;
}
else
*
value
=
'\0'
;
msg_Dbg
(
p_intf
,
"%d: value =
\"
%s
\"
"
,
__LINE__
,
value
);
break
;
default:
snprintf
(
value
,
sizeof
(
value
),
"invalid type(%s) in set"
,
m
->
param2
);
value
[
sizeof
(
value
)
-
1
]
=
'\0'
;
break
;
}
value
[
sizeof
(
value
)
-
1
]
=
'\0'
;
msg_Dbg
(
p_intf
,
"get name=%s value=%s type=%s"
,
m
->
param1
,
value
,
m
->
param2
);
PRINTS
(
"%s"
,
value
);
break
;
}
...
...
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