]> git.sur5r.net Git - openldap/blobdiff - include/ldap_queue.h
ITS#8570 - Fix typo
[openldap] / include / ldap_queue.h
index 49787fe070d48de2feb498b900b5d2da4f904361..1b711b10cbc888d9eefdaa5ed71940062db9c75a 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2001-2013 The OpenLDAP Foundation.
+ * Copyright 2001-2017 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -225,7 +225,7 @@ struct {                                                            \
 } while (0)
 
 #define LDAP_STAILQ_ENTRY_INIT(var, field) {                           \
-       (entry)->field.stqe_next = NULL;                                \
+       (var)->field.stqe_next = NULL;                                  \
 }
 
 #define LDAP_STAILQ_FIRST(head)        ((head)->stqh_first)