Whitespace and minor code cleanup
This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
This commit is contained in:
+2
-2
@@ -319,7 +319,7 @@ int fixPermissions::pchmod(string fn, string mode) {
|
||||
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 @@ int fixPermissions::getPackages() {
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user