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

(parse_nonwhite_char): Use WHITESPACE instead of hardcoding the string.

parent e61b1cf0
/*
* $Id: isc-parse.c,v 0.20 2003/07/12 22:26:32 ceder Exp $
* $Id: isc-parse.c,v 0.21 2003/08/04 11:58:41 ceder Exp $
* Copyright (C) 1991, 1993-1994, 1996, 1998-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -51,6 +51,7 @@
#include "async.h"
#include "connections.h"
#include "isc-parse.h"
#include "kom-config.h"
int
parse_char(Connection *client)
......@@ -67,7 +68,7 @@ parse_nonwhite_char(Connection *client)
{
int c;
while ( strchr(" \t\n\r", c=parse_char(client) ) != NULL )
while (strchr(WHITESPACE, c = parse_char(client)) != NULL)
;
return c;
}
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