git: libc/net: Multiple minor cleanups to base64.c

Aaron LI aly at crater.dragonflybsd.org
Sun May 1 08:23:40 PDT 2022


commit fe2da4c891f6d5ab555eac0ac3edc3241c50c1c5
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Apr 30 21:01:02 2022 +0800

    libc/net: Multiple minor cleanups to base64.c
    
    * Remove unused but included headers.
    * Use 'unsigned char' instead of 'u_char'.
    * Properly cast 'char' to 'unsigned char'.
    * Remove the debug Assert()s.
    
    Partially obtained from OpenBSD.

Summary of changes:
 lib/libc/net/base64.c | 58 ++++++++++++++++++++++-----------------------------
 1 file changed, 25 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fe2da4c891f6d5ab555eac0ac3edc3241c50c1c5


-- 
DragonFly BSD source repository



More information about the Commits mailing list