]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/examples/main.cpp
Happy New Year
[openldap] / contrib / ldapc++ / examples / main.cpp
index 2602a678065d506b79f25ba4b4aee14018779ed5..ceccd69b58f330d72fcca34a3c2d0f1de11e900e 100644 (file)
@@ -1,6 +1,6 @@
 // $OpenLDAP$
 /*
- * Copyright 2000-2015 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2018 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -30,7 +30,7 @@ int main(){
         lc->bind("cn=Manager,o=Organisation,c=DE" , "secret",cons);
         std::cout << lc->getHost() << std::endl;    
         bool result = lc->compare("cn=Manager,o=Organisation,c=DE", 
-                LDAPAttribute("cn","Manaer"));
+                LDAPAttribute("cn","Manager"));
         std::cout << "Compare: " << result << std::endl;
     
         LDAPAttributeList* attrs=new LDAPAttributeList();