summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-07-23 23:47:23 +0000
committerTiago Cunha <tcunha@gmx.com>2009-07-23 23:47:23 +0000
commit7cd412dc57db8d116825764e2c06cd913edd3d7b (patch)
tree4a887c3e0ce065d2111add144e8da2b4d5fccc8f /client.c
parent1870b96578cdc7d6605ce1d08bf2023f54b22935 (diff)
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.
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 1 insertions, 3 deletions
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 <nicm@users.sourceforge.net>
@@ -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);