libvirt.c: indent code of virDomainGetMemoryParameters's documentation

By indenting code inside of comments, it gets recognized as a
code block when generating the HTML documentation.
This commit is contained in:
Claudio Bley 2013-01-30 10:42:21 +01:00
parent 6d19d742bc
commit 52dbeac8e7

View File

@ -4077,14 +4077,14 @@ error:
* *
* Here is a sample code snippet: * Here is a sample code snippet:
* *
* if ((virDomainGetMemoryParameters(dom, NULL, &nparams, 0) == 0) && * if ((virDomainGetMemoryParameters(dom, NULL, &nparams, 0) == 0) &&
* (nparams != 0)) { * (nparams != 0)) {
* if ((params = malloc(sizeof(*params) * nparams)) == NULL) * if ((params = malloc(sizeof(*params) * nparams)) == NULL)
* goto error; * goto error;
* memset(params, 0, sizeof(*params) * nparams); * memset(params, 0, sizeof(*params) * nparams);
* if (virDomainGetMemoryParameters(dom, params, &nparams, 0)) * if (virDomainGetMemoryParameters(dom, params, &nparams, 0))
* goto error; * goto error;
* } * }
* *
* This function may require privileged access to the hypervisor. This function * This function may require privileged access to the hypervisor. This function
* expects the caller to allocate the @params. * expects the caller to allocate the @params.