Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[mms-dump] Skip <Octet 34> when printing Quoted-string
  • Loading branch information
monich committed Apr 12, 2014
1 parent 08b6188 commit 0762a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mms-dump/mms-dump.c
Expand Up @@ -702,7 +702,7 @@ mms_value_decode_wsp_params(
}
switch (p.value) {
case WSP_PARAMETER_VALUE_TEXT:
printf("%s", p.text);
printf("%s", p.text[0] == '"' ? (p.text + 1) : p.text);
break;
case WSP_PARAMETER_VALUE_INT:
printf("%u", p.integer);
Expand Down

0 comments on commit 0762a63

Please sign in to comment.