Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
00c94a61
Commit
00c94a61
authored
Mar 06, 2015
by
Henrique Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/client.c: add null termination to the corrected string
parent
88557e35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
client.c
examples/client.c
+1
-0
No files found.
examples/client.c
View file @
00c94a61
...
...
@@ -176,6 +176,7 @@ bpm_client_err_e parse_subopt (char *subopts, char *mount_opts[], char* name, ch
{
case
CHANNEL
:
memcpy
(
corr_name
+
len
-
1
,
value
,
strlen
(
value
));
memcpy
(
corr_name
+
len
,
"
\0
"
,
1
);
break
;
case
VALUE
:
temp_value
=
value
;
...
...
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