]> git.sur5r.net Git - openldap/commitdiff
Fixed initialization of "usage" and "single" attributes
authorRalf Haferkamp <ralf@openldap.org>
Wed, 24 Jan 2007 14:27:29 +0000 (14:27 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Wed, 24 Jan 2007 14:27:29 +0000 (14:27 +0000)
contrib/ldapc++/src/LDAPAttrType.cpp

index d43cf13435ae6f3133cbd4d09f05652632b0a1be..d59c160dafcf395798acd0894125dcd89ad7c7c7 100644 (file)
@@ -44,7 +44,7 @@ LDAPAttrType::LDAPAttrType (string at_item) {
        this->setDesc( a->at_desc );
        this->setOid( a->at_oid );
        this->setSingle( a->at_single_value );
-       this->setSingle( a->at_usage );
+       this->setUsage( a->at_usage );
     }
     // else? -> error
 }