mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 07:46:02 +01:00
Fix applied to ruby-net-ldap (#608).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1148 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -68,7 +68,7 @@ module Net
|
|||||||
# this can throw TypeErrors and other nasties.
|
# this can throw TypeErrors and other nasties.
|
||||||
#
|
#
|
||||||
def read_ber syntax=nil
|
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
|
id = getc # don't trash this value, we'll use it later
|
||||||
tag = id & 31
|
tag = id & 31
|
||||||
|
|||||||
Reference in New Issue
Block a user