in reply to Sending files with XSendFile

Why do you sometimes print \r\n at the end, but sometimes you dont?