* if it's signed by the key we're looking at.
*/
initcolour(false);
- degree = countdegree(dbctx, keyinfo, true, 7);
+ countdegree(dbctx, keyinfo, true, 7);
puts("\t\tSigned by\t\tSigns");
for (loop = 1; loop < 7; loop++) {
while ((optchar = getopt(argc, argv, "c:")) != -1 ) {
switch (optchar) {
case 'c':
+ if (configfile != NULL) {
+ free(configfile);
+ }
configfile = strdup(optarg);
break;
}
}
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));