X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=gpgwww.c;h=02b4e79972bafa66c1206f130f39df5f2ae2638a;hb=f8407f2ed06cdc0cca8c2421023255886c12ea6d;hp=6615887cf753ca29d24f4984b6c9822cbb3f2d05;hpb=8e0907be1d73011075a99a0c029c56664e12843e;p=onak.git diff --git a/gpgwww.c b/gpgwww.c index 6615887..02b4e79 100644 --- a/gpgwww.c +++ b/gpgwww.c @@ -13,8 +13,7 @@ * more details. * * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * this program. If not, see . */ #include @@ -22,6 +21,8 @@ #include #include +#include "build-config.h" + #include "armor.h" #include "charfuncs.h" #include "cleanup.h" @@ -33,7 +34,6 @@ #include "onak-conf.h" #include "parsekey.h" #include "stats.h" -#include "version.h" #define OP_UNKNOWN 0 #define OP_GET 1 @@ -183,7 +183,7 @@ int main(int argc, char *argv[]) readconfig(NULL); initlogthing("gpgwww", config.logfile); catchsignals(); - dbctx = config.dbinit(true); + dbctx = config.dbinit(config.backend, true); inithash(); logthing(LOGTHING_NOTICE, "Looking for path from 0x%016" PRIX64 " to 0x%016"