Cleanup: fix a couple of styleguide violations.
This commit is contained in:
parent
7f837074a6
commit
cefa27bf82
@ -75,18 +75,18 @@ main(int argc, char** argv)
|
|||||||
|
|
||||||
const char* errorString = NULL;
|
const char* errorString = NULL;
|
||||||
int32 errorCode = 0;
|
int32 errorCode = 0;
|
||||||
if (update_time(settings, &errorString, &errorCode) == B_OK)
|
if (update_time(settings, &errorString, &errorCode) == B_OK) {
|
||||||
printf("Synchronization successful\r\n");
|
printf("Synchronization successful\r\n");
|
||||||
else if (errorCode != 0)
|
} else if (errorCode != 0) {
|
||||||
printf("The following error occured "
|
printf("The following error occured "
|
||||||
"while synchronizing:\r\n%s: %s\r\n",
|
"while synchronizing:\r\n%s: %s\r\n",
|
||||||
errorString, strerror(errorCode));
|
errorString, strerror(errorCode));
|
||||||
else
|
} else {
|
||||||
printf("The following error occured "
|
printf("The following error occured "
|
||||||
"while synchronizing:\r\n%s\r\n",
|
"while synchronizing:\r\n%s\r\n",
|
||||||
errorString);
|
errorString);
|
||||||
}
|
}
|
||||||
else {
|
} else {
|
||||||
TimeApplication app;
|
TimeApplication app;
|
||||||
setuid(0);
|
setuid(0);
|
||||||
app.Run();
|
app.Run();
|
||||||
|
Loading…
Reference in New Issue
Block a user