Loading ifs/src/preload/intcp_functions.cpp +2 −2 Changes for ifs/src/preload/intcp_functions.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ size_t intcp_fread(void *ptr, size_t size, size_t nmemb, FILE *stream) { if (ret > 0) { // Update offset in file descriptor in the file map adafs_fd->pos(pos + ret); return ret % size; return ret / size; } return ret; } Loading @@ -198,7 +198,7 @@ size_t intcp_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) { if (ret > 0) { // Update offset in file descriptor in the file map adafs_fd->pos(pos + ret); return ret % size; return ret / size; } return ret; } Loading Loading
ifs/src/preload/intcp_functions.cpp +2 −2 Changes for ifs/src/preload/intcp_functions.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -178,7 +178,7 @@ size_t intcp_fread(void *ptr, size_t size, size_t nmemb, FILE *stream) { if (ret > 0) { // Update offset in file descriptor in the file map adafs_fd->pos(pos + ret); return ret % size; return ret / size; } return ret; } Loading @@ -198,7 +198,7 @@ size_t intcp_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) { if (ret > 0) { // Update offset in file descriptor in the file map adafs_fd->pos(pos + ret); return ret % size; return ret / size; } return ret; } Loading