From 0cb3f6098d959479a96c26a92d91becc2110b30d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 11 Jun 2008 21:48:27 +0000 Subject: Support getting groups from the server and limiting access based on LDAP groups. See #112 --- common/buffer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/buffer.c') diff --git a/common/buffer.c b/common/buffer.c index 25494c9..088c2df 100644 --- a/common/buffer.c +++ b/common/buffer.c @@ -40,6 +40,8 @@ #include #include #include +#include +#include /* ----------------------------------------------------------------------- * Memory Buffer @@ -368,7 +370,7 @@ char* ha_bufparseline(ha_buffer_t* buf, int trim) if(trim) { /* Knock out any previous whitespace */ - while(buf->_pp < buf->_rp && isblank(*(buf->_pp))) + while(buf->_pp < buf->_rp && strchr (" \t", *(buf->_pp))) buf->_pp++; } -- cgit v1.2.3