From 4fabc5b3dce9e4a531089fe1e4d8b2ca5b50f789 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Fri, 2 May 2008 22:32:50 +0200 Subject: [PATCH] Minor comment set_response_length_tcp -> set_message_length_tcp --- modbus/modbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modbus/modbus.c b/modbus/modbus.c index cd21955..cbfe22c 100644 --- a/modbus/modbus.c +++ b/modbus/modbus.c @@ -272,7 +272,7 @@ static int build_response_basis_tcp(int slave, int function, uint8_t *response) response[2] = 0; response[3] = 0; - /* Length to fix later with set_response_length_tcp (4 and 5) */ + /* Length to fix later with set_message_length_tcp (4 and 5) */ response[6] = slave; response[7] = function; -- libgit2 0.21.4