X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fupload.c;h=0f737af2e06b70bf7b27373130fdf8585510e2be;hp=41b1bf2dd5430af766ced4b723ff790dd86608b0;hb=56bef498f46ac3dd580f4bde3c8f3ed2fe688826;hpb=2df2f2854ed2d1f9857ef3c5aaca29810cf3c506 diff --git a/daemon/upload.c b/daemon/upload.c index 41b1bf2..0f737af 100644 --- a/daemon/upload.c +++ b/daemon/upload.c @@ -36,7 +36,7 @@ write_cb (void *fd_ptr, const void *buf, int len) /* Has one FileIn parameter. */ int -do_upload (const char *filename) +do_upload (char *filename) { int err, fd, r, is_dev; @@ -88,7 +88,7 @@ do_upload (const char *filename) /* Has one FileOut parameter. */ int -do_download (const char *filename) +do_download (char *filename) { int fd, r, is_dev; char buf[GUESTFS_MAX_CHUNK_SIZE];