Commit ec3af8ac authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(lookup_z_name): Call CHK_BOOL for want_persons and want_confs.

parent d3e2d299
/* /*
* $Id: conference.c,v 0.90 2003/08/20 10:25:03 ceder Exp $ * $Id: conference.c,v 0.91 2003/08/23 15:10:43 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association. * Copyright (C) 1991-2002 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -654,6 +654,8 @@ lookup_z_name (const String name, ...@@ -654,6 +654,8 @@ lookup_z_name (const String name,
Conf_list_old raw_matches; Conf_list_old raw_matches;
CHK_CONNECTION(FAILURE); CHK_CONNECTION(FAILURE);
CHK_BOOL(want_persons, FAILURE);
CHK_BOOL(want_confs, FAILURE);
if (cached_lookup_name(name, &raw_matches) != OK) if (cached_lookup_name(name, &raw_matches) != OK)
return FAILURE; return FAILURE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment