freebsd-ports/comms/trustedqsl/files/patch-src_tqslconvert.cpp
Stephen Hurd 9744d20a02 Update to 2.1.3
Pull from arrl.org instead of sourceforge, since that seems to be the
"official" distribution location.  Cleaned up patches and sent them upstream
2015-11-29 00:21:37 +00:00

11 lines
504 B
C++

--- src/tqslconvert.cpp.orig 2015-10-21 17:26:38 UTC
+++ src/tqslconvert.cpp
@@ -549,7 +549,7 @@ static bool open_db(TQSL_CONVERTER *conv
fprintf(conv->errfile, "opening DB %s returns status %s\n", conv->dbpath, db_strerror(dbret));
// Can't open the database - maybe try private?
if ((dbret == EACCES || dbret == EROFS) || (dbret == EINVAL && errno == dbret)) {
- if (!(envflags && DB_PRIVATE)) {
+ if (!(envflags & DB_PRIVATE)) {
envflags |= DB_PRIVATE;
continue;
}