libvirt/qemud
Jim Meyering 49230350fa Use a variable name as sizeof argument, not a type name.
Given code like: T *var = calloc (n, sizeof (T));
Convert to this: T *var = calloc (n, sizeof (*var));
This first-cut change adjusts all malloc, calloc, and
realloc statements.

The only binary differences are in remote_internal.c
(due to the bug fix) and in xmlrpc.c (due to factorization).

* python/libvir.c: As above.
* qemud/event.c: Likewise.
* qemud/mdns.c: Likewise.
* qemud/qemud.c: Likewise.
* qemud/remote.c: Likewise.
* src/bridge.c: Likewise.
* src/buf.c: Likewise.
* src/conf.c: Likewise.
* src/hash.c: Likewise.
* src/iptables.c: Likewise.
* src/openvz_conf.c: Likewise.
* src/qemu_conf.c: Likewise.
* src/qemu_driver.c: Likewise.
* src/test.c: Likewise.
* src/xen_internal.c: Likewise.
* src/xen_unified.c: Likewise.
* src/xm_internal.c: Likewise.
* src/xml.c: Likewise.
* tests/qemuxml2argvtest.c: Likewise.
* src/xmlrpc.c (xmlRpcValuePtr): Likewise, and minor factorization.
* src/remote_internal.c (remoteAuthMakeCredentials): Use the right
type when allocating space for an array of cred _pointers_.
2007-12-11 21:57:29 +00:00
..
.cvsignore Ignore libvirtd.init, Daniel 2007-07-06 07:11:24 +00:00
default-network.xml Improve support for virtual networking 2007-03-13 22:43:22 +00:00
event.c Use a variable name as sizeof argument, not a type name. 2007-12-11 21:57:29 +00:00
event.h Allow updating of existing timers & file handle event watches 2007-09-19 01:27:32 +00:00
internal.h Added PolicyKit authentication support 2007-12-05 18:21:27 +00:00
libvirtd.conf Added PolicyKit authentication support 2007-12-05 18:21:27 +00:00
libvirtd.init.in Initial integration of SASL authentication, working for Kerberos only 2007-12-05 15:24:15 +00:00
libvirtd.policy Added PolicyKit authentication support 2007-12-05 18:21:27 +00:00
libvirtd.sasl Added missing sasl config file 2007-12-05 18:21:04 +00:00
libvirtd.sysconf Initial integration of SASL authentication, working for Kerberos only 2007-12-05 15:24:15 +00:00
Makefile.am Thu Dec 6 16:30:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> 2007-12-06 16:34:48 +00:00
mdns.c Use a variable name as sizeof argument, not a type name. 2007-12-11 21:57:29 +00:00
mdns.h Added support for Avahi mDNS advertisement 2007-09-19 01:56:55 +00:00
qemud.c Use a variable name as sizeof argument, not a type name. 2007-12-11 21:57:29 +00:00
remote_dispatch_localvars.h Added PolicyKit authentication support 2007-12-05 18:21:27 +00:00
remote_dispatch_proc_switch.h Added PolicyKit authentication support 2007-12-05 18:21:27 +00:00
remote_dispatch_prototypes.h Added PolicyKit authentication support 2007-12-05 18:21:27 +00:00
remote_generate_stubs.pl Add whitelisting of users. Remove IP whitelisting. Make auth schemes configurable 2007-12-05 15:34:05 +00:00
remote_protocol.c Added PolicyKit authentication support 2007-12-05 18:21:27 +00:00
remote_protocol.h Added PolicyKit authentication support 2007-12-05 18:21:27 +00:00
remote_protocol.x Added PolicyKit authentication support 2007-12-05 18:21:27 +00:00
remote.c Use a variable name as sizeof argument, not a type name. 2007-12-11 21:57:29 +00:00
rpcgen_fix.pl Mon Jun 11 12:34:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> 2007-06-11 11:36:17 +00:00