From: David Allan Date: Thu, 22 Apr 2010 16:55:17 +0000 (-0400) Subject: Properly indent encryption tags X-Git-Tag: v0.8.1~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68529bc596c4e3f3814497dc6c8f7eac6594a49b;p=thirdparty%2Flibvirt.git Properly indent encryption tags * Fix for the bug reported at: https://bugzilla.redhat.com/show_bug.cgi?id=573908 --- diff --git a/src/conf/storage_encryption_conf.c b/src/conf/storage_encryption_conf.c index ed7168814f..7f68d67da6 100644 --- a/src/conf/storage_encryption_conf.c +++ b/src/conf/storage_encryption_conf.c @@ -228,7 +228,7 @@ virStorageEncryptionSecretFormat(virBufferPtr buf, } virUUIDFormat(secret->uuid, uuidstr); - virBufferVSprintf(buf, " \n", type, uuidstr); + virBufferVSprintf(buf, " \n", type, uuidstr); return 0; } @@ -245,14 +245,14 @@ virStorageEncryptionFormat(virBufferPtr buf, "%s", _("unexpected encryption format")); return -1; } - virBufferVSprintf(buf, " \n", format); + virBufferVSprintf(buf, " \n", format); for (i = 0; i < enc->nsecrets; i++) { if (virStorageEncryptionSecretFormat(buf, enc->secrets[i]) < 0) return -1; } - virBufferAddLit(buf, " \n"); + virBufferAddLit(buf, " \n"); return 0; }