From e8cf29056e30500aa1f7cf0b61e3c7cc4d7f9da1 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 12 Jun 2023 15:13:46 -0400 Subject: [PATCH] need to scan into pointer --- deliverator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deliverator.go b/deliverator.go index b3491c5..c28df01 100644 --- a/deliverator.go +++ b/deliverator.go @@ -74,7 +74,7 @@ func delinquent(userid int64, rcpt string, msg []byte) bool { row := stmtDeliquentCheck.QueryRow(userid, rcpt) var dooverid int64 var data []byte - err := row.Scan(&dooverid, data) + err := row.Scan(&dooverid, &data) if err == sql.ErrNoRows { return false }