summaryrefslogtreecommitdiff
path: root/src/debug/jdwp/misc/header.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-09-11 20:40:24 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-09-11 20:40:24 (GMT)
commit18648e4e8763a3bc005d6fae51eae3d1528d7d29 (patch)
tree05feca5b6c5575b2a048b60130e3207b9f2c355a /src/debug/jdwp/misc/header.c
parent9f8c79e3b272960b48bfd85a24f4b5cb5651df2d (diff)
Created an interface from the original GBinContent object.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@576 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/debug/jdwp/misc/header.c')
-rw-r--r--src/debug/jdwp/misc/header.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/debug/jdwp/misc/header.c b/src/debug/jdwp/misc/header.c
index 6a6ed69..6525580 100644
--- a/src/debug/jdwp/misc/header.c
+++ b/src/debug/jdwp/misc/header.c
@@ -170,7 +170,7 @@ bool get_jdwp_header(const bin_t *blob, jdwp_header *header)
if (!read_u32(&header->id, blob, &pos, len, SRE_BIG))
return false;
- if (!read_u8(&header->flags, blob, &pos, len, SRE_BIG))
+ if (!read_u8(&header->flags, blob, &pos, len))
return false;
/* Réponse ? */
@@ -183,10 +183,10 @@ bool get_jdwp_header(const bin_t *blob, jdwp_header *header)
/* Requête ! */
else
{
- if (!read_u8(&header->set, blob, &pos, len, SRE_BIG))
+ if (!read_u8(&header->set, blob, &pos, len))
return false;
- if (!read_u8(&header->command, blob, &pos, len, SRE_BIG))
+ if (!read_u8(&header->command, blob, &pos, len))
return false;
}