Cleanup: fix a couple of styleguide violations.

This commit is contained in:
Oliver Tappe 2012-02-23 14:31:57 +01:00
parent 7f837074a6
commit cefa27bf82

View File

@ -75,18 +75,18 @@ main(int argc, char** argv)
const char* errorString = NULL;
int32 errorCode = 0;
if (update_time(settings, &errorString, &errorCode) == B_OK)
if (update_time(settings, &errorString, &errorCode) == B_OK) {
printf("Synchronization successful\r\n");
else if (errorCode != 0)
} else if (errorCode != 0) {
printf("The following error occured "
"while synchronizing:\r\n%s: %s\r\n",
errorString, strerror(errorCode));
else
} else {
printf("The following error occured "
"while synchronizing:\r\n%s\r\n",
errorString);
}
else {
} else {
TimeApplication app;
setuid(0);
app.Run();