mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-30 16:35:24 +00:00
examples: Remove the whitespace before ';'
This commit is contained in:
parent
1ea88abd7e
commit
6da965692c
@ -332,7 +332,7 @@ static int myDomainEventGraphicsCallback(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
remote->family, remote->node, remote->service);
|
||||
|
||||
printf("auth: %s ", authScheme);
|
||||
for (i = 0 ; i < subject->nidentity ; i++) {
|
||||
for (i = 0; i < subject->nidentity; i++) {
|
||||
printf(" identity: %s=%s",
|
||||
subject->identities[i].type,
|
||||
subject->identities[i].name);
|
||||
|
@ -135,7 +135,7 @@ showDomains(virConnectPtr conn)
|
||||
printf("Inactive domains:\n");
|
||||
}
|
||||
|
||||
for (i = 0 ; i < numNames ; i++) {
|
||||
for (i = 0; i < numNames; i++) {
|
||||
printf(" %s\n", *(nameList + i));
|
||||
/* The API documentation doesn't say so, but the names
|
||||
* returned by virConnectListDefinedDomains are strdup'd and
|
||||
@ -175,7 +175,7 @@ authCallback(virConnectCredentialPtr cred, unsigned int ncred, void *cbdata)
|
||||
* For example the ESX driver passes the hostname of the ESX or vCenter
|
||||
* server as challenge. This allows a auth callback to return the
|
||||
* proper credentials. */
|
||||
for (i = 0; i < ncred ; ++i) {
|
||||
for (i = 0; i < ncred; ++i) {
|
||||
switch (cred[i].type) {
|
||||
case VIR_CRED_AUTHNAME:
|
||||
cred[i].result = strdup(authData->username);
|
||||
|
Loading…
x
Reference in New Issue
Block a user