]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typo
authorPhilippe Wooding <philippe.wooding@networkradius.com>
Mon, 5 Jun 2017 11:01:55 +0000 (13:01 +0200)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Mon, 5 Jun 2017 11:16:26 +0000 (07:16 -0400)
src/main/conduit.c

index f3683eadec2879319333474120edc324e61e60af..b0118b629b15ce2517b1e121579933f14ddfd146 100644 (file)
@@ -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 */