summaryrefslogtreecommitdiffstats
path: root/control.go
diff options
context:
space:
mode:
Diffstat (limited to 'control.go')
-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"