Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Message.pm: fix Net::LDAP::Message::Dummy->new()

Add the 'mesgid' property to new Net::LDAP::Message::Dummy objects
to avoid a warning in unbind().
  • Loading branch information...
commit bece0e32ecda5fa960da7a8430f6220f29d2680b 1 parent e80162e
@marschap marschap authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Net/LDAP/Message.pm
View
4 lib/Net/LDAP/Message.pm
@@ -255,7 +255,9 @@ sub Net::LDAP::Compare::is_error {
my $self = shift;
my $type = ref($self) || $self;
- $self = bless {}, $type;
+ $self = bless {
+ mesgid => Net::LDAP::Message::NewMesgID(),
+ }, $type;
$self;
}
Please sign in to comment.
Something went wrong with that request. Please try again.