X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fstr2filter.c;h=b6aa778c6b85fd71bd1567eeb4d47b7555d596bd;hb=d7396583d5bac01fda89da592824b1c8179984f4;hp=f8b9cfcdf3a6d8e20638a600c70aa5de673aa2fb;hpb=d611a4b49a00238ed32ae84c68f27c6a0ef2273a;p=openldap
diff --git a/servers/slapd/str2filter.c b/servers/slapd/str2filter.c
index f8b9cfcdf3..b6aa778c6b 100644
--- a/servers/slapd/str2filter.c
+++ b/servers/slapd/str2filter.c
@@ -2,7 +2,7 @@
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software .
*
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2005 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -33,7 +33,6 @@
#include
#include "slap.h"
-#include
#if 0 /* unused */
static char *find_matching_paren( const char *s );
@@ -81,7 +80,9 @@ Filter *
str2filter( const char *str )
{
Operation op = {0};
+ Opheader ohdr = {0};
+ op.o_hdr = &ohdr;
op.o_tmpmemctx = NULL;
op.o_tmpmfuncs = &ch_mfuncs;