diff options
author | Samuel Stauffer <samuel@descolada.com> | 2014-03-19 21:57:32 +0100 |
---|---|---|
committer | Samuel Stauffer <samuel@descolada.com> | 2014-03-19 21:57:59 +0100 |
commit | 222854694e922344f18910ce3704115d08ca30cb (patch) | |
tree | 62d54db042f04993a4f89b780f0afb02b9a67e18 /control.go | |
parent | connection handling (diff) | |
download | ldap-222854694e922344f18910ce3704115d08ca30cb.tar ldap-222854694e922344f18910ce3704115d08ca30cb.tar.gz ldap-222854694e922344f18910ce3704115d08ca30cb.tar.bz2 ldap-222854694e922344f18910ce3704115d08ca30cb.tar.lz ldap-222854694e922344f18910ce3704115d08ca30cb.tar.xz ldap-222854694e922344f18910ce3704115d08ca30cb.tar.zst ldap-222854694e922344f18910ce3704115d08ca30cb.zip |
Diffstat (limited to 'control.go')
-rw-r--r-- | control.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,12 +2,12 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// This package provides LDAP client functions. package ldap import ( "fmt" - "github.com/marcsauter/asn1-ber" + + "github.com/SpruceHealth/asn1-ber" ) const ( @@ -45,7 +45,7 @@ func (c *ControlString) Encode() *ber.Packet { } func (c *ControlString) String() string { - return fmt.Sprintf("Control Type: %s (%q) Criticality: %s Control Value: %s", ControlTypeMap[c.ControlType], c.ControlType, c.Criticality, c.ControlValue) + return fmt.Sprintf("Control Type: %s (%q) Criticality: %t Control Value: %s", ControlTypeMap[c.ControlType], c.ControlType, c.Criticality, c.ControlValue) } type ControlPaging struct { @@ -76,7 +76,7 @@ func (c *ControlPaging) Encode() *ber.Packet { func (c *ControlPaging) String() string { return fmt.Sprintf( - "Control Type: %s (%q) Criticality: %s PagingSize: %d Cookie: %q", + "Control Type: %s (%q) Criticality: %t PagingSize: %d Cookie: %q", ControlTypeMap[ControlTypePaging], ControlTypePaging, false, |