minor fixes to revert new lines.
This commit is contained in:
parent
cbf809c856
commit
e6a007e032
|
@ -60,6 +60,7 @@ module.exports = LDAPResult;
|
||||||
|
|
||||||
LDAPResult.prototype.end = function(status) {
|
LDAPResult.prototype.end = function(status) {
|
||||||
assert.ok(this.connection);
|
assert.ok(this.connection);
|
||||||
|
|
||||||
if (typeof(status) === 'number')
|
if (typeof(status) === 'number')
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@ function SearchRequest(options) {
|
||||||
options = {};
|
options = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
options.protocolOp = Protocol.LDAP_REQ_SEARCH;
|
options.protocolOp = Protocol.LDAP_REQ_SEARCH;
|
||||||
LDAPMessage.call(this, options);
|
LDAPMessage.call(this, options);
|
||||||
|
|
||||||
|
|
|
@ -41,8 +41,6 @@ module.exports = SearchResponse;
|
||||||
* Defaults to 'false'.
|
* Defaults to 'false'.
|
||||||
*/
|
*/
|
||||||
SearchResponse.prototype.send = function(entry, nofiltering) {
|
SearchResponse.prototype.send = function(entry, nofiltering) {
|
||||||
this.log.info('entry', entry);
|
|
||||||
this.log.info('nofiltering', nofiltering);
|
|
||||||
if (!entry || typeof(entry) !== 'object')
|
if (!entry || typeof(entry) !== 'object')
|
||||||
throw new TypeError('entry (SearchEntry) required');
|
throw new TypeError('entry (SearchEntry) required');
|
||||||
if (nofiltering === undefined)
|
if (nofiltering === undefined)
|
||||||
|
@ -89,7 +87,6 @@ SearchResponse.prototype.send = function(entry, nofiltering) {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
this.log.info('in search response send');
|
|
||||||
if (this.log.isDebugEnabled())
|
if (this.log.isDebugEnabled())
|
||||||
this.log.debug('%s: sending: %j', this.connection.ldap.id, entry.json);
|
this.log.debug('%s: sending: %j', this.connection.ldap.id, entry.json);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue