]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/str2filter.c
ITS#2919 move OpenLDAPtime to OpenLDAPperson
[openldap] / servers / slapd / str2filter.c
index 39fa95eaecda42e23ba33b01a6fb9c0b8d8aeba5..b6aa778c6b85fd71bd1567eeb4d47b7555d596bd 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * 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
@@ -80,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;