Sync OpenBSD patchset 352:

Don't allow locked or suspended clients to limit the size of active clients.
This commit is contained in:
Tiago Cunha
2009-09-25 17:47:42 +00:00
parent b5d23ef38b
commit 804b8696a4
4 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $Id: cmd-lock-server.c,v 1.6 2009-07-28 22:12:16 tcunha Exp $ */
/* $Id: cmd-lock-server.c,v 1.7 2009-09-25 17:47:42 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@ -45,6 +45,7 @@ int
cmd_lock_server_exec(unused struct cmd *self, unused struct cmd_ctx *ctx)
{
server_lock();
recalculate_sizes();
return (0);
}