Thanks to Richard Boss for spotting this.

---
 lib/Net/LDAP/Control/SyncRequest.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/Net/LDAP/Control/SyncRequest.pm
b/lib/Net/LDAP/Control/SyncRequest.pm
index 95cd716..d905d7b 100644
--- a/lib/Net/LDAP/Control/SyncRequest.pm
+++ b/lib/Net/LDAP/Control/SyncRequest.pm
@@ -21,7 +21,7 @@ sub init {
   unless (exists $self->{value}) {
     $self->{asn} = {
       mode => $self->{mode} || '1',
-      cookie => $self->{cookie} || '',
+      cookie => $self->{cookie} || undef,
       reloadHint   => $self->{reloadHint} || '0',
     };
   }
--
1.5.6.5

Reply via email to