]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPSearchResult.cpp
Happy New Year!
[openldap] / contrib / ldapc++ / src / LDAPSearchResult.cpp
index 94d5988ff3dbe65efeb65630f6366263f25482f7..5b6cc0e6f42e5b92f62ac774f3fe2ad938da4fb0 100644 (file)
@@ -1,5 +1,6 @@
+// $OpenLDAP$
 /*
- * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2016 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -7,12 +8,15 @@
 #include <iostream>
 
 #include "debug.h"
-#include"LDAPSearchResult.h"
+#include "LDAPSearchResult.h"
 #include "LDAPRequest.h"
 
+using namespace std;
+
 LDAPSearchResult::LDAPSearchResult(const LDAPRequest *req,
         LDAPMessage *msg) : LDAPMsg(msg){
-       DEBUG(LDAP_DEBUG_CONSTRUCT,"LDAPSearchResult::LDAPSearchResult()" << endl);
+       DEBUG(LDAP_DEBUG_CONSTRUCT,
+               "LDAPSearchResult::LDAPSearchResult()" << endl);
     entry = new LDAPEntry(req->getConnection(), msg);
     //retrieve the controls here
     LDAPControl** srvctrls=0;