summary refs log tree commit diff stats
path: root/svc
diff options
context:
space:
mode:
Diffstat (limited to 'svc')
-rw-r--r--svc/init.go2
-rw-r--r--svc/sqlite.go3
2 files changed, 3 insertions, 2 deletions
diff --git a/svc/init.go b/svc/init.go
index 79a542a..4408ecf 100644
--- a/svc/init.go
+++ b/svc/init.go
@@ -11,7 +11,7 @@ import (
 	"github.com/spf13/pflag"
 )
 
-const getwtxt = "0.2.4"
+const getwtxt = "0.3.0"
 
 var (
 	flagVersion  *bool   = pflag.BoolP("version", "v", false, "Display version information, then exit.")
diff --git a/svc/sqlite.go b/svc/sqlite.go
index 3f50402..69103dc 100644
--- a/svc/sqlite.go
+++ b/svc/sqlite.go
@@ -102,12 +102,13 @@ func (lite dbSqlite) pull() {
 
 	twtxtCache.Mu.Lock()
 	for rows.Next() {
+		var uid int
 		var urls string
 		var isUser bool
 		var dataKey string
 		var dBlob []byte
 
-		errLog("", rows.Scan(&urls, &isUser, &dataKey, &dBlob))
+		errLog("", rows.Scan(&uid, &urls, &isUser, &dataKey, &dBlob))
 
 		if !isUser {
 			remoteRegistries.Mu.Lock()