diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-04-04 18:13:05 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-04-04 18:13:05 +0300 |
commit | 0665896a5593fb41c92cbf164182a058ee40518c (patch) | |
tree | d657fac84d35aa3f605d25dc8e0a3c165db93b30 /src/nxt_application.h | |
parent | 43ba7aad6cadfab2eb45f09e894dec072c93e6cd (diff) | |
download | unit-0665896a5593fb41c92cbf164182a058ee40518c.tar.gz unit-0665896a5593fb41c92cbf164182a058ee40518c.tar.bz2 |
Style: capitalized letters in hexadecimal literals.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_application.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h index 6c5f0d6e..c899b1c7 100644 --- a/src/nxt_application.h +++ b/src/nxt_application.h @@ -292,7 +292,7 @@ nxt_app_msg_read_length(u_char *src, size_t *length) src++; } else { - *length = ((src[0] & 0x7fU) << 24) + + *length = ((src[0] & 0x7FU) << 24) + (src[1] << 16) + (src[2] << 8) + src[3]; |