summaryrefslogtreecommitdiffstats
path: root/control.go
diff options
context:
space:
mode:
authorSamuel Stauffer <samuel@descolada.com>2014-03-19 22:05:10 +0100
committerSamuel Stauffer <samuel@descolada.com>2014-03-19 22:05:10 +0100
commit4e3f3713c8f6debc9a2844af538094968142a714 (patch)
tree0c479514925aabf0bf8776b7756d8a7204820aec /control.go
parentStylistic fixes, update imports, and some format string fixes (diff)
downloadldap-4e3f3713c8f6debc9a2844af538094968142a714.tar
ldap-4e3f3713c8f6debc9a2844af538094968142a714.tar.gz
ldap-4e3f3713c8f6debc9a2844af538094968142a714.tar.bz2
ldap-4e3f3713c8f6debc9a2844af538094968142a714.tar.lz
ldap-4e3f3713c8f6debc9a2844af538094968142a714.tar.xz
ldap-4e3f3713c8f6debc9a2844af538094968142a714.tar.zst
ldap-4e3f3713c8f6debc9a2844af538094968142a714.zip
Diffstat (limited to '')
-rw-r--r--control.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/control.go b/control.go
index 9ae50ea..4466a0b 100644
--- a/control.go
+++ b/control.go
@@ -115,10 +115,10 @@ func DecodeControl(packet *ber.Packet) Control {
value.Description += " (Paging)"
c := new(ControlPaging)
if value.Value != nil {
- value_children := ber.DecodePacket(value.Data.Bytes())
+ valueChildren := ber.DecodePacket(value.Data.Bytes())
value.Data.Truncate(0)
value.Value = nil
- value.AppendChild(value_children)
+ value.AppendChild(valueChildren)
}
value = value.Children[0]
value.Description = "Search Control Value"