X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fupload.c;h=6c5f6dc400913df340a0e9ad4e29329ff4517a8c;hp=41b1bf2dd5430af766ced4b723ff790dd86608b0;hb=7c3a90f94cd6b8fec9cdd1c052b91a14c0ee0e0e;hpb=feb188d27787c595f12507ce5bff5431c4932523 diff --git a/daemon/upload.c b/daemon/upload.c index 41b1bf2..6c5f6dc 100644 --- a/daemon/upload.c +++ b/daemon/upload.c @@ -1,5 +1,5 @@ /* libguestfs - the guestfsd daemon - * Copyright (C) 2009 Red Hat Inc. + * Copyright (C) 2009 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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];