pikhq / musl-nscd

Musl-nscd is an implementation of the NSCD protocol, suitable for use with musl and with standard NSS modules
Other
46 stars 14 forks source link

Remove unnecessary checks from write_val. #30

Closed ericonr closed 3 years ago

ericonr commented 3 years ago

The *len variables are always at least 1, due to being calculated as strlen(fld)+1. The fields are never NULL, instead we transmit empty strings ("") on the wire.