diff options
author | Matt Caswell <matt@openssl.org> | 2015-08-03 17:20:47 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-08-13 20:34:51 +0100 |
commit | bc6616a4347d4c30bce1d1918da09f09f84c0403 (patch) | |
tree | c7fc9a59f688b9a1fd7ec2e4e5864d0705e99272 /ssl/packet_locl.h | |
parent | f9f6053442a2918d0445866252256b2cb54a1187 (diff) |
Enhance PACKET readability
Enhance the PACKET code readability, and fix a stale comment. Thanks
to Ben Kaduk (bkaduk@akamai.com) for pointing this out.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'ssl/packet_locl.h')
-rw-r--r-- | ssl/packet_locl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ssl/packet_locl.h b/ssl/packet_locl.h index 80d0b93fd9..a5e4d00911 100644 --- a/ssl/packet_locl.h +++ b/ssl/packet_locl.h @@ -80,8 +80,7 @@ typedef struct { } PACKET; /* - * Returns 1 if there are exactly |len| bytes left to be read from |pkt| - * and 0 otherwise + * Returns the number of bytes remaining to be read in the PACKET */ __owur static inline size_t PACKET_remaining(PACKET *pkt) { |