Matteo Cafasso 5d36f5ae82 upload: improve file write callback
As noted by Pino in another patch, the logic passes the first member of
the struct which happens to be the right address to the callback
function.

This will break the callback if order of the members of the struct will
change.

As the callback is using the entire struct, better to pass the pointer
to the struct itself.

Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
2016-11-09 21:09:24 +00:00
2016-09-08 09:57:14 +02:00
2016-10-12 13:49:46 +01:00
2016-10-12 13:49:46 +01:00
2016-01-02 21:19:51 +00:00
2016-10-01 13:08:32 +01:00
2016-05-03 13:21:34 +01:00
2016-10-25 22:53:15 +01:00
2016-10-25 22:53:15 +01:00
2016-10-12 13:49:46 +01:00
2016-09-08 09:57:15 +02:00
2016-10-12 13:49:46 +01:00
2013-01-24 15:00:49 +00:00
2016-07-14 15:44:03 +01:00
2016-09-08 09:57:15 +02:00
2016-10-25 20:49:21 +01:00
2016-10-25 22:53:15 +01:00
2016-01-20 13:42:38 +00:00
2016-02-10 14:15:05 +01:00

Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2016 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Languages
C 42.7%
OCaml 35.5%
Shell 7.1%
Makefile 4%
Perl 2.6%
Other 8%