Since you have not changed this line, `sock` variable is always increased by `sd_listen_fds_start` from parsed `number`. Therefore, either this line is incorrect or your subsequent proposed changes are incorrect.