#include <stdint.h>
#include <sys/types.h>
#include <fcntl.h>
-#include "libnfs-zdr.h"
#include "libnfs.h"
#include "libnfs-raw.h"
#include "libnfs-raw-mount.h"
file_context->fd = -1;
file_context->nfs = NULL;
file_context->nfsfh = NULL;
+ file_context->url = NULL;
if (strncmp(url, "nfs://", 6)) {
file_context->is_nfs = 0;
off += count;
}
- printf("copied %d bytes\n", (int)count);
+ printf("copied %d bytes\n", (int)off);
free_file_context(src);
free_file_context(dst);