diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-06-08 03:08:59 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-06-08 03:08:59 -0400 |
commit | 18fc34c704203f8bffa6ecc35330cebc6c1c10ce (patch) | |
tree | 28bd9d69a751838111e1bd5d0baacacb3b531741 /svc | |
parent | fb836e1be94604796c5aa95dafcba9c87488afe0 (diff) | |
download | getwtxt-18fc34c704203f8bffa6ecc35330cebc6c1c10ce.tar.gz |
runtime bugfix for sqlite3
Diffstat (limited to 'svc')
-rw-r--r-- | svc/init.go | 2 | ||||
-rw-r--r-- | svc/sqlite.go | 3 |
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() |