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
e8fbf16e
Commit
e8fbf16e
authored
Oct 08, 2003
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation fix
parent
123a98f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/misc/httpd.c
modules/misc/httpd.c
+5
-5
No files found.
modules/misc/httpd.c
View file @
e8fbf16e
...
...
@@ -2,7 +2,7 @@
* httpd.c
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.c,v 1.2
8 2003/10/08 10:07:22
zorglub Exp $
* $Id: httpd.c,v 1.2
9 2003/10/08 11:24:59
zorglub Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -678,10 +678,10 @@ static void _UnregisterHost( httpd_sys_t *p_httpt, httpd_host_t *p_ho
p_httpt
->
i_host_count
--
;
p_httpt
->
host
=
realloc
(
p_httpt
->
host
,
p_httpt
->
i_host_count
*
sizeof
(
httpd_host_t
*
)
);
if
(
!
p_httpt
->
p_
host
)
if
(
!
p_httpt
->
host
)
{
msg_Err
(
p_httpt
,
"Out of memory"
);
return
NULL
;
return
;
}
}
...
...
@@ -830,7 +830,7 @@ static httpd_stream_t *_RegisterStream( httpd_sys_t *p_httpt,
p_stream
->
i_ref
=
0
;
p_stream
->
psz_file
=
strdup
(
psz_file
);
p_stream
->
psz_mime
=
strdup
(
psz_mime
);
if
(
!
p_
file
->
psz_file
||
!
p_file
->
psz_mime
)
if
(
!
p_
stream
->
psz_file
||
!
p_stream
->
psz_mime
)
{
msg_Err
(
p_httpt
,
"Out of memory"
);
return
NULL
;
...
...
@@ -840,7 +840,7 @@ static httpd_stream_t *_RegisterStream( httpd_sys_t *p_httpt,
p_stream
->
i_authenticate_method
=
HTTPD_AUTHENTICATE_BASIC
;
p_stream
->
psz_user
=
strdup
(
psz_user
);
p_stream
->
psz_password
=
strdup
(
psz_password
);
if
(
!
p_
file
->
psz_user
||
!
p_file
->
psz_password
)
if
(
!
p_
stream
->
psz_user
||
!
p_stream
->
psz_password
)
{
msg_Err
(
p_httpt
,
"Out of memory"
);
return
NULL
;
...
...
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