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

(re_z_lookup): Call CHK_BOOL for want_persons and want_confs.

parent 4f43ed68
/* /*
* $Id: regex-match.c,v 1.36 2003/08/16 11:28:57 ceder Exp $ * $Id: regex-match.c,v 1.37 2003/08/23 15:14:33 ceder Exp $
* Copyright (C) 1992-1999, 2001-2002 Lysator Academic Computer Association. * Copyright (C) 1992-1999, 2001-2002 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -181,6 +181,8 @@ re_z_lookup (const String regexp, ...@@ -181,6 +181,8 @@ re_z_lookup (const String regexp,
Conf_z_info_list *result) Conf_z_info_list *result)
{ {
CHK_CONNECTION(FAILURE); CHK_CONNECTION(FAILURE);
CHK_BOOL(want_persons, FAILURE);
CHK_BOOL(want_confs, FAILURE);
return lookup_regexp(active_connection, regexp, result, return lookup_regexp(active_connection, regexp, result,
want_persons, want_confs); want_persons, want_confs);
} }
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