X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=sixdegrees.c;h=f7f15200dd0d7b424276e10f9dd90ceb2c02b301;hp=3dd13ec81a0fabda4ad2cf306f769169878d12e7;hb=76f079e5ebdb34acaaa2462a8d915ee06d3c8425;hpb=2458360e75aa46091f60c16e041c07bffe2edefb diff --git a/sixdegrees.c b/sixdegrees.c index 3dd13ec..f7f1520 100644 --- a/sixdegrees.c +++ b/sixdegrees.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 @@ -137,7 +136,7 @@ int main(int argc, char *argv[]) { int optchar; char *configfile = NULL; - uint64_t keyid = 0x2DA8B985; + uint64_t keyid = 0x94FA372B2DA8B985; struct onak_dbctx *dbctx; while ((optchar = getopt(argc, argv, "c:")) != -1 ) { @@ -161,7 +160,7 @@ int main(int argc, char *argv[]) dbctx = config.dbinit(config.backend, true); if (dbctx != NULL) { inithash(); - sixdegrees(dbctx, dbctx->getfullkeyid(dbctx, keyid)); + sixdegrees(dbctx, keyid); destroyhash(); dbctx->cleanupdb(dbctx); } else {