Commit 9d044991 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Removed lint.

parent 2dff6c76
/*
* $Id: regex-match.c,v 1.3 1993/01/16 23:18:07 ceder Exp $
* $Id: regex-match.c,v 1.4 1993/08/05 01:09:59 ceder Exp $
* Copyright (C) 1992 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -27,7 +27,7 @@
* Regexp matching
*/
static char *rcsid = "$Id: regex-match.c,v 1.3 1993/01/16 23:18:07 ceder Exp $";
static char *rcsid = "$Id: regex-match.c,v 1.4 1993/08/05 01:09:59 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -54,7 +54,7 @@ lookup_regexp (const String regexp,
struct re_pattern_buffer pat_buf;
Conf_no conf_no;
String name = EMPTY_STRING;
char *errmsg;
const char *errmsg;
/* +++ Unnecessary to allocate this much if only one conference matches. */
result->conf_nos = tmp_alloc (cached_no_of_existing_conferences()
......@@ -69,7 +69,9 @@ lookup_regexp (const String regexp,
pat_buf.allocated = 0;
pat_buf.buffer = 0;
if (errmsg = re_compile_pattern(regexp.string, s_strlen(regexp), &pat_buf))
if ((errmsg =
re_compile_pattern(regexp.string, s_strlen(regexp), &pat_buf))
!= NULL)
{
regfree(&pat_buf);
kom_errno = KOM_REGEX_ERROR;
......
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