Skip to content
Snippets Groups Projects
Commit 4be7a0bd authored by rswindell's avatar rswindell
Browse files

sendfilesocket() wasn't supposed to close the file descriptor.

parent ac209a0b
Branches
Tags
No related merge requests found
......@@ -66,7 +66,6 @@ int sendfilesocket(int sock, int file, long *offset, long count)
count=len;
rd=read(file,buf,count);
close(file);
if(rd!=count) {
free(buf);
return(-1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment