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);
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
* 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);