libvirt/tests
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
..
confdata Added files to EXTRA_DIST 2006-09-12 01:21:15 +00:00
nodeinfodata Use gnulib, starting with its physmem and getaddrinfo modules. 2007-12-05 21:31:07 +00:00
qemuxml2argvdata Fixed PXE network boot config 2007-09-13 22:06:54 +00:00
sexpr2xmldata * tests/sexpr2xmltest.c tests/xml2sexprtest.c: warn before exiting 2007-11-20 10:05:45 +00:00
virshdata Fixed virsh test suite 2007-01-26 13:10:28 +00:00
xencapsdata Tue Aug 21 10:36:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> 2007-08-21 09:38:00 +00:00
xmconfigdata Cleanup UUID apis & constants 2007-08-09 20:19:12 +00:00
xml2sexprdata * tests/sexpr2xmltest.c tests/xml2sexprtest.c: warn before exiting 2007-11-20 10:05:45 +00:00
.cvsignore Split out generic nodeinfo API 2007-07-25 23:16:30 +00:00
conftest.c Include "config.h". 2007-12-05 21:40:15 +00:00
daemon-conf Test libvirtd's config-processing code. 2007-12-11 21:20:13 +00:00
int-overflow Oops, forgot, Daniel 2007-11-12 14:07:37 +00:00
Makefile.am Test libvirtd's config-processing code. 2007-12-11 21:20:13 +00:00
nodeinfotest.c Use gnulib, starting with its physmem and getaddrinfo modules. 2007-12-05 21:31:07 +00:00
qemuxml2argvtest.c Use a variable name as sizeof argument, not a type name. 2007-12-11 21:57:29 +00:00
qemuxml2xmltest.c Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> 2007-12-05 13:56:22 +00:00
reconnect.c Insert cosmetic linebreak 2007-12-07 14:38:34 +00:00
sexpr2xmltest.c Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> 2007-12-05 13:56:22 +00:00
test_conf.sh Arrange for tests to pass in a non-srcdir build. 2007-11-14 10:35:58 +00:00
test_xmlrpc.sh XML-RPC tests 2006-05-09 15:35:46 +00:00
testutils.c Include "config.h" in remaining non-generated files. 2007-12-07 10:08:06 +00:00
testutils.h Added support for input devices 2007-07-18 21:08:22 +00:00
virshtest.c Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> 2007-12-05 13:56:22 +00:00
xencapstest.c Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> 2007-12-05 13:56:22 +00:00
xmconfigtest.c Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> 2007-12-05 13:56:22 +00:00
xml2sexprtest.c Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> 2007-12-05 13:56:22 +00:00
xmlrpcserver.py XML-RPC tests 2006-05-09 15:35:46 +00:00
xmlrpctest.c Include "config.h". 2007-12-05 21:40:15 +00:00