aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/parser.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-11-23 15:30:41 +0100
committerTobias Brunner <tobias@strongswan.org>2012-03-20 17:30:51 +0100
commit97265a8927c290466eb8899d99da9b3cf921969f (patch)
tree42f5a4583fcfb3995bef0035e0e0fdadd80697cf /src/libcharon/encoding/parser.c
parentf4e21faa989998974e198ecb2d33521c612e29bf (diff)
downloadstrongswan-97265a8927c290466eb8899d99da9b3cf921969f.tar.bz2
strongswan-97265a8927c290466eb8899d99da9b3cf921969f.tar.xz
Removed redundant '=>' when logging binary data in parser and generator.
Diffstat (limited to 'src/libcharon/encoding/parser.c')
-rw-r--r--src/libcharon/encoding/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/encoding/parser.c b/src/libcharon/encoding/parser.c
index b93651bbe..3f4bb15a9 100644
--- a/src/libcharon/encoding/parser.c
+++ b/src/libcharon/encoding/parser.c
@@ -254,7 +254,7 @@ static bool parse_bytes(private_parser_t *this, int rule_number,
if (output_pos)
{
memcpy(output_pos, this->byte_pos, bytes);
- DBG3(DBG_ENC, " => %b", output_pos, bytes);
+ DBG3(DBG_ENC, " %b", output_pos, bytes);
}
this->byte_pos += bytes;
return TRUE;
@@ -352,7 +352,7 @@ static bool parse_chunk(private_parser_t *this, int rule_number,
{
*output_pos = chunk_alloc(length);
memcpy(output_pos->ptr, this->byte_pos, length);
- DBG3(DBG_ENC, " => %b", output_pos->ptr, length);
+ DBG3(DBG_ENC, " %b", output_pos->ptr, length);
}
this->byte_pos += length;
return TRUE;