* 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 <https://www.gnu.org/licenses/>.
*/
#include <getopt.h>
{
int optchar;
char *configfile = NULL;
- uint64_t keyid = 0x2DA8B985;
+ uint64_t keyid = 0x94FA372B2DA8B985;
struct onak_dbctx *dbctx;
while ((optchar = getopt(argc, argv, "c:")) != -1 ) {
readconfig(configfile);
free(configfile);
initlogthing("sixdegrees", config.logfile);
- dbctx = config.dbinit(true);
+ dbctx = config.dbinit(config.backend, true);
if (dbctx != NULL) {
inithash();
- sixdegrees(dbctx, dbctx->getfullkeyid(dbctx, keyid));
+ sixdegrees(dbctx, keyid);
destroyhash();
dbctx->cleanupdb(dbctx);
} else {