From 40b6941c0fab8d922d4f3b563b1287c3c63f2c38 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 8 Nov 2009 23:06:25 +0000 Subject: [PATCH] Sync OpenBSD patchset 500: Tell the client to exit on configuration file error. --- server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.c b/server.c index 9c5e9645..300019ca 100644 --- a/server.c +++ b/server.c @@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.220 2009-11-08 23:02:56 tcunha Exp $ */ +/* $Id: server.c,v 1.221 2009-11-08 23:06:25 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -197,6 +197,7 @@ error: c = ARRAY_FIRST(&clients); server_write_error(c, cause); + server_write_client(c, MSG_EXIT, NULL, 0); xfree(cause); server_shutdown = 1;