* sid can never be NULL because it was NULL-checked earlier * Change namelen to size_t because it is always unsigned and less in size than size_t * Remove redundant check on ser It can't be NULL, and even if it could, the ser++ would be UB.