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 /test/packettest.c | |
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 'test/packettest.c')
-rw-r--r-- | test/packettest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packettest.c b/test/packettest.c index d6d0c082f5..c3ac53bcb0 100644 --- a/test/packettest.c +++ b/test/packettest.c @@ -67,7 +67,7 @@ static int test_PACKET_remaining(PACKET *pkt) || !PACKET_forward(pkt, BUF_LEN - 1) || PACKET_remaining(pkt) != 1 || !PACKET_forward(pkt, 1) - || PACKET_remaining(pkt)) { + || PACKET_remaining(pkt) != 0) { fprintf(stderr, "test_PACKET_remaining() failed\n"); return 0; } |