Cleanup lint/cruft

This commit is contained in:
Patrick Mooney 2014-07-29 10:21:57 -05:00
parent b94a66916e
commit b70bdaa26b
2 changed files with 2 additions and 10 deletions

View File

@ -159,16 +159,8 @@ client.on('error', function (err) {
});
client.bind(parsed.binddn, parsed.password, function (err, res) {
if (err)
if (err) {
perror(err);
var finished = 0;
function callback(err) {
if (err)
perror(err);
if (++finished === parsed.file.length)
client.unbind(function () { return; });
}
vasync.forEachPipeline({

View File

@ -656,7 +656,7 @@ test('search paged', function (t) {
t.test('paged - redundant control', function (t2) {
try {
client.search(SUFFIX, {
paged: { pageSize: 100 },
paged: { pageSize: 100 }
}, new ldap.PagedResultsControl(),
function (err, res) {
t2.fail();