need to scan into pointer

This commit is contained in:
Ted Unangst 2023-06-12 15:13:46 -04:00
parent 3baff9e64e
commit e8cf29056e
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ func delinquent(userid int64, rcpt string, msg []byte) bool {
row := stmtDeliquentCheck.QueryRow(userid, rcpt) row := stmtDeliquentCheck.QueryRow(userid, rcpt)
var dooverid int64 var dooverid int64
var data []byte var data []byte
err := row.Scan(&dooverid, data) err := row.Scan(&dooverid, &data)
if err == sql.ErrNoRows { if err == sql.ErrNoRows {
return false return false
} }