Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mms-engine
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mer-core
mms-engine
Commits
f8f96e1d
Commit
f8f96e1d
authored
Mar 14, 2014
by
Slava Monich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[mms-dump] Don't decode empty values
parent
fa28e9e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mms-dump/mms-dump.c
mms-dump/mms-dump.c
+2
-1
No files found.
mms-dump/mms-dump.c
View file @
f8f96e1d
...
...
@@ -800,7 +800,8 @@ mms_decode_headers(
}
printf
(
"%s%s: "
,
prefix
,
hdr_name
);
dec
=
value_decoder_for_header
(
hdr_name
);
if
(
!
dec
(
wsp_header_iter_get_val_type
(
iter
),
val
,
val_len
,
flags
))
{
if
(
val_len
>
0
&&
!
dec
(
wsp_header_iter_get_val_type
(
iter
),
val
,
val_len
,
flags
))
{
printf
(
"ERROR!
\n
"
);
return
FALSE
;
}
...
...
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