aboutsummaryrefslogtreecommitdiffstats
path: root/libsbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsbus.c')
-rw-r--r--libsbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsbus.c b/libsbus.c
index ab8d3fe..e4c8f44 100644
--- a/libsbus.c
+++ b/libsbus.c
@@ -99,7 +99,7 @@ libsbus_receive(int fd, int flags, char *buf, union libsbus_packet *packet)
if (!p++)
goto unknown;
packet->type = LIBSBUS_CONTROL_MESSAGE;
- packet->message.key = &buf[4];
+ packet->message.key = &buf[5];
packet->message.msg = p;
packet->message.n = (size_t)(r - (p - buf));
} else {