summaryrefslogtreecommitdiffstats
path: root/conn.go
diff options
context:
space:
mode:
authorSamuel Stauffer <samuel@descolada.com>2014-03-19 22:27:01 +0100
committerSamuel Stauffer <samuel@descolada.com>2014-03-19 22:27:01 +0100
commit65bf7be9958662d7881ee992874889a5dbbe6ef5 (patch)
tree0b39cf05bf792d773f4675195402de0fc095ac55 /conn.go
parentUse error instead of *Error (diff)
downloadldap-65bf7be9958662d7881ee992874889a5dbbe6ef5.tar
ldap-65bf7be9958662d7881ee992874889a5dbbe6ef5.tar.gz
ldap-65bf7be9958662d7881ee992874889a5dbbe6ef5.tar.bz2
ldap-65bf7be9958662d7881ee992874889a5dbbe6ef5.tar.lz
ldap-65bf7be9958662d7881ee992874889a5dbbe6ef5.tar.xz
ldap-65bf7be9958662d7881ee992874889a5dbbe6ef5.tar.zst
ldap-65bf7be9958662d7881ee992874889a5dbbe6ef5.zip
Diffstat (limited to 'conn.go')
-rw-r--r--conn.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/conn.go b/conn.go
index ebf87c1..d5fbef0 100644
--- a/conn.go
+++ b/conn.go
@@ -173,13 +173,13 @@ func (l *Conn) sendMessage(packet *ber.Packet) (chan *ber.Packet, error) {
return out, nil
}
-func (l *Conn) finishMessage(MessageID uint64) {
+func (l *Conn) finishMessage(messageID uint64) {
if l.isClosing {
return
}
message := &messagePacket{
Op: MessageFinish,
- MessageID: MessageID,
+ MessageID: messageID,
}
l.sendProcessMessage(message)
}