Break long lines more tastefully

This commit is contained in:
Markus Armbruster 2010-05-18 22:19:34 +02:00
parent 373651359e
commit 7465574195
28 changed files with 69 additions and 92 deletions

View file

@ -203,20 +203,19 @@ main(int argc, char **argv)
/* silently ignore operands for backward compatibility */
#if defined(_WIN32)
if ((!daemonize || flags || config_file != NULL) &&
remove_service_set) {
if ((!daemonize || flags || config_file != NULL)
&& remove_service_set) {
fprintf(stderr, "Can't use -p, -s, -d or -e with either "
"-u or -U options\n");
exit(EXIT_FAILURE);
}
if ((!daemonize || flags) && install_service_set) {
fprintf(stderr, "Can't use -d, -p or -s with either "
"-i or -I options\n");
fprintf(stderr,
"Can't use -d, -p or -s with either -i or -I options\n");
exit(EXIT_FAILURE);
}
if (install_service_set && remove_service_set) {
fprintf(stderr, "Can't use both -u or -U and -i or -I "
"options\n");
fprintf(stderr, "Can't use both -u or -U and -i or -I options\n");
exit(EXIT_FAILURE);
}

View file

@ -85,8 +85,7 @@ update_init(void)
stacksize = 100000 +
/* finish_sects */ WORLD_X * WORLD_Y * (2 * sizeof(double) +
sizeof(char *));
update_thread = empth_create(update_sched, stacksize, 0,
"Update", dp);
update_thread = empth_create(update_sched, stacksize, 0, "Update", dp);
if (!update_thread)
exit_nomem();
}