diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-02-15 17:22:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-02-15 17:22:21 +0000 |
commit | 96b78fdae579335057439c25211b2e2195b40130 (patch) | |
tree | bfed7c7356f85a2f86fb98564f3aa3b60a7df1f0 | |
parent | 377a45ae1adc5abadf93b73fb4a4b9a0a8398652 (diff) | |
download | redmine-96b78fdae579335057439c25211b2e2195b40130.tar.gz redmine-96b78fdae579335057439c25211b2e2195b40130.zip |
Fix applied to ruby-net-ldap (#608).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1148 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb b/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb index e76100656..6589415dc 100644 --- a/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb +++ b/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb @@ -68,7 +68,7 @@ module Net # this can throw TypeErrors and other nasties. # def read_ber syntax=nil - return nil if eof? + return nil if (StringIO == self.class) and eof? id = getc # don't trash this value, we'll use it later tag = id & 31 |