From 714349085020d5855870f58a45fc50807942b96b Mon Sep 17 00:00:00 2001 From: Rory O'Connell Date: Sat, 25 Sep 2010 15:27:59 -0500 Subject: [PATCH] Fix merge artifacts because I'm a dummy dumb head --- Rakefile | 2 +- lib/net/ldap.rb | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index a23c8cc..a3569f9 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,5 @@ require "rubygems" -require 'hanna/rdoctask' +# require 'hanna/rdoctask' require 'hoe' $LOAD_PATH.unshift('lib') diff --git a/lib/net/ldap.rb b/lib/net/ldap.rb index 3e60736..e720c9a 100644 --- a/lib/net/ldap.rb +++ b/lib/net/ldap.rb @@ -1519,11 +1519,7 @@ class Net::LDAP::Connection #:nodoc: pkt = [next_msgid.to_ber, request.to_ber_appsequence(12)].to_ber_sequence @conn.write pkt -<<<<<<< HEAD - (be = @conn.read_ber(Net::LDAP::AsnSyntax)) && (pdu = Net::LDAP::PDU.new(be)) && (pdu.app_tag == 13) or raise Net::LDAP::LdapError, "response missing or invalid" -======= (be = @conn.read_ber(AsnSyntax)) && (pdu = LdapPdu.new( be )) && (pdu.app_tag == 13) or raise LdapError.new( "response missing or invalid" ) ->>>>>>> tonyheadford/master pdu.result_code end