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
9312c3dc
Commit
9312c3dc
authored
Apr 06, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Really fix the vlm_MessageNew NULL warning
parent
04d23bd3
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
59 deletions
+65
-59
include/vlc_vlm.h
include/vlc_vlm.h
+1
-0
modules/control/telnet.c
modules/control/telnet.c
+4
-5
src/input/vlmshell.c
src/input/vlmshell.c
+59
-54
src/libvlccore.sym
src/libvlccore.sym
+1
-0
No files found.
include/vlc_vlm.h
View file @
9312c3dc
...
...
@@ -187,6 +187,7 @@ VLC_EXPORT( void, vlm_Delete, ( vlm_t * ) );
VLC_EXPORT
(
int
,
vlm_ExecuteCommand
,
(
vlm_t
*
,
const
char
*
,
vlm_message_t
**
)
);
VLC_EXPORT
(
int
,
vlm_Control
,
(
vlm_t
*
p_vlm
,
int
i_query
,
...
)
);
VLC_EXPORT
(
vlm_message_t
*
,
vlm_MessageSimpleNew
,
(
const
char
*
)
);
VLC_EXPORT
(
vlm_message_t
*
,
vlm_MessageNew
,
(
const
char
*
,
const
char
*
,
...
)
LIBVLC_FORMAT
(
2
,
3
)
);
VLC_EXPORT
(
vlm_message_t
*
,
vlm_MessageAdd
,
(
vlm_message_t
*
,
vlm_message_t
*
)
);
VLC_EXPORT
(
void
,
vlm_MessageDelete
,
(
vlm_message_t
*
)
);
...
...
modules/control/telnet.c
View file @
9312c3dc
...
...
@@ -474,14 +474,13 @@ static void Run( intf_thread_t *p_intf )
if
(
!
strncmp
(
cl
->
buffer_read
,
"help"
,
4
)
)
{
vlm_message_t
*
p_my_help
=
vlm_Message
New
(
"Telnet Specific Commands:"
,
NULL
);
vlm_Message
SimpleNew
(
"Telnet Specific Commands:"
);
vlm_MessageAdd
(
p_my_help
,
vlm_Message
New
(
"logout, quit, exit"
,
NULL
)
);
vlm_Message
SimpleNew
(
"logout, quit, exit"
)
);
vlm_MessageAdd
(
p_my_help
,
vlm_Message
New
(
"shutdown"
,
NULL
)
);
vlm_Message
SimpleNew
(
"shutdown"
)
);
vlm_MessageAdd
(
p_my_help
,
vlm_MessageNew
(
"@moduleinstance command argument"
,
NULL
)
);
vlm_MessageSimpleNew
(
"@moduleinstance command argument"
)
);
vlm_MessageAdd
(
message
,
p_my_help
);
}
Write_message
(
cl
,
message
,
NULL
,
WRITE_MODE_CMD
);
...
...
src/input/vlmshell.c
View file @
9312c3dc
This diff is collapsed.
Click to expand it.
src/libvlccore.sym
View file @
9312c3dc
...
...
@@ -503,6 +503,7 @@ vlm_ExecuteCommand
vlm_MessageAdd
vlm_MessageDelete
vlm_MessageNew
vlm_MessageSimpleNew
__vlm_New
__vout_AllocatePicture
vout_ChromaCmp
...
...
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