Reporting cleaned up and levels made more consistent.

This commit is contained in:
robijn
2002-07-14 20:30:33 +00:00
parent 380000357d
commit c8fc08f6e3
24 changed files with 305 additions and 375 deletions
+4 -2
View File
@@ -82,7 +82,7 @@ screen_add_func (Client * c, int argc, char **argv)
report(RPT_WARNING, "screen_add_func: Error adding screen");
sock_send_string (c->sock, "huh? Failed to add screen\n");
}
report(RPT_NOTICE, "added a screen (%s) to the display", s->id);
report(RPT_INFO, "Client on socket %d added added screen \"%s\"", c->sock, s->id);
return 0;
}
@@ -125,7 +125,9 @@ screen_del_func (Client * c, int argc, char **argv)
} else
sock_send_string (c->sock, "huh? Unknown screen id\n");
report(RPT_NOTICE, "removed a screen (%s) from the display", argv[1]);
report(RPT_INFO, "Client on socket %d removed screen \"%s\"", c->sock, s->id);
screen_destroy(s);
return 0;
}