From: Philippe Wooding Date: Mon, 5 Jun 2017 11:01:55 +0000 (+0200) Subject: Fix typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc401499e03cf569770fb768e99bf2eac91dc5d9;p=thirdparty%2Ffreeradius-server.git Fix typo --- diff --git a/src/main/conduit.c b/src/main/conduit.c index f3683eadec2..b0118b629b1 100644 --- a/src/main/conduit.c +++ b/src/main/conduit.c @@ -143,7 +143,7 @@ ssize_t fr_conduit_read(int fd, fr_conduit_type_t *pconduit, void *out, size_t o * Read the data into the buffer. */ *pconduit = ntohl(hdr.conduit); - data_len = ntohs(hdr.length); + data_len = ntohl(hdr.length); if (data_len == 0) return 0; if (data_len > UINT32_MAX) data_len = UINT32_MAX; /* For Coverity */