From 7cd412dc57db8d116825764e2c06cd913edd3d7b Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Thu, 23 Jul 2009 23:47:23 +0000 Subject: Sync OpenBSD patchset 173: None of the server message functions return anything but 0, so make them all void. Also remove a leftover variable in client.c. --- client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 65545c6b..34aad32d 100644 --- a/client.c +++ b/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.55 2009-07-23 23:42:59 tcunha Exp $ */ +/* $Id: client.c,v 1.56 2009-07-23 23:47:23 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -138,14 +138,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); -- cgit