summaryrefslogtreecommitdiff
path: root/transaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'transaction.go')
-rw-r--r--transaction.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/transaction.go b/transaction.go
index 54e285c..e4eface 100644
--- a/transaction.go
+++ b/transaction.go
@@ -54,7 +54,7 @@ func (f ConversationFunc) RespondPAM(s Style, msg string) (string, error) {
//export cbPAMConv
func cbPAMConv(s C.int, msg *C.char, c int) (*C.char, C.int) {
var r string
- var err error = nil
+ var err error
v := cbGet(c)
switch cb := v.(type) {
case ConversationHandler: