None of the server message functions return anything but 0, so make them all

void.

Also remove a leftover variable in client.c.
This commit is contained in:
Nicholas Marriott
2009-07-23 21:19:11 +00:00
parent 16e017d5a6
commit 4a04b498db
2 changed files with 16 additions and 31 deletions

View File

@ -134,14 +134,12 @@ int
client_main(struct client_ctx *cctx)
{
struct pollfd pfd;
char *error;
int xtimeout; /* Yay for ncurses namespace! */
siginit();
logfile("client");
error = NULL;
while (!sigterm) {
if (sigchld) {
waitpid(WAIT_ANY, NULL, WNOHANG);