minor cosmetic changes

This commit is contained in:
Fufu Fang 2019-04-23 23:56:18 +01:00
parent cb39b91693
commit 60b2e6c0c8
2 changed files with 3 additions and 3 deletions

View File

@ -730,7 +730,7 @@ long Cache_read(Cache *cf, char *output_buf, off_t len, off_t offset)
long recv = path_download(cf->path, (char *) RECV_BUF, cf->blksz,
dl_offset);
/* Send it off */
memmove(output_buf, RECV_BUF + (offset-dl_offset), len);
memmove(output_buf, RECV_BUF + (offset - dl_offset), len);
sent = len;
/* Write it to the disk, check if we haven't received enough data*/
if (recv == cf->blksz) {

View File

@ -1,9 +1,9 @@
#include "cache.h"
#include "network.h"
#include "fuse_local.h"
#include "network.h"
#include <stdio.h>
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>