Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
ldapcpplib
ldifreader-errormsg.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ldifreader-errormsg.dif of Package ldapcpplib
Index: src/LdifReader.cpp =================================================================== RCS file: /repo/OpenLDAP/pkg/ldap/contrib/ldapc++/src/LdifReader.cpp,v retrieving revision 1.5 diff -u -r1.5 LdifReader.cpp --- src/LdifReader.cpp 20 Jun 2008 11:19:12 -0000 1.5 +++ src/LdifReader.cpp 25 Sep 2009 11:52:28 -0000 @@ -179,11 +179,12 @@ LDAPEntry LdifReader::getEntryRecord() { + std::list<stringpair>::const_iterator i = m_currentRecord.begin(); if ( m_curRecType != LDAPMsg::SEARCH_ENTRY ) { - // Error + throw( std::runtime_error( "The LDIF record: '" + i->second + + "' is not a valid LDAP Entry" )); } - std::list<stringpair>::const_iterator i = m_currentRecord.begin(); LDAPEntry resEntry(i->second); i++; LDAPAttribute curAttr(i->first);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor