summaryrefslogtreecommitdiff
path: root/lib9p/9p.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib9p/9p.c')
-rw-r--r--lib9p/9p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib9p/9p.c b/lib9p/9p.c
index 5bea9f9..51ff2eb 100644
--- a/lib9p/9p.c
+++ b/lib9p/9p.c
@@ -125,7 +125,7 @@ ssize_t _lib9p_validate(uint8_t xxx_low_typ_bit,
/* Inspect the first 5 bytes ourselves. */
struct _validate_ctx subctx = {
.ctx = ctx,
- .net_size = decode_u32le(net_bytes),
+ .net_size = uint32le_decode(net_bytes),
.net_bytes = net_bytes,
.net_offset = 0,