diff --git a/sources/cmd/archiver.go b/sources/cmd/archiver.go index c164eca..01757ad 100644 --- a/sources/cmd/archiver.go +++ b/sources/cmd/archiver.go @@ -16,7 +16,8 @@ import "path/filepath" import "os" import "sort" -import "github.com/colinmarc/cdb" +// import "github.com/colinmarc/cdb" +import cdb "github.com/cipriancraciun/go-cdb-lib" import . "../lib" diff --git a/sources/cmd/server.go b/sources/cmd/server.go index e78cc6b..72d895b 100644 --- a/sources/cmd/server.go +++ b/sources/cmd/server.go @@ -14,12 +14,14 @@ import "net/url" import "os" import "time" -import "github.com/colinmarc/cdb" +// import "github.com/colinmarc/cdb" +import cdb "github.com/cipriancraciun/go-cdb-lib" import . "../lib" + type server struct { cdbReader *cdb.CDB debug bool @@ -264,7 +266,7 @@ func main_0 () (error) { } var _cdbReader *cdb.CDB - if _cdbReader_0, _error := cdb.New (_cdbFile, nil); _error == nil { + if _cdbReader_0, _error := cdb.NewWithHasher (_cdbFile, nil); _error == nil { _cdbReader = _cdbReader_0 } else { AbortError (_error, "[85234ba0] failed opening archive!")