Whitespace and minor code cleanup
This is by no means comprehensive, but is quite a bit better already.
Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
diff --git a/fixPermissions.cpp b/fixPermissions.cpp
index 3fed06c..121fe32 100644
--- a/fixPermissions.cpp
+++ b/fixPermissions.cpp
@@ -319,7 +319,7 @@
if (mode[n] == '1')
mask |= S_IXOTH;
}
- }
+ }
if (chmod(fn.c_str(), mask) != 0) {
LOGERR("Unable to chmod '%s' %l\n", fn.c_str(), mask);
@@ -615,7 +615,7 @@
name.clear();
next = next->next_sibling("package");
}
- //Get updated packages
+ //Get updated packages
next = pkgNode->first_node("updated-package");
if (next != NULL) {
while (next->first_attribute("name") != NULL) {