X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=keydctl.c;h=8712f6361d00978817f42f717989e3f545ebb18d;hb=f8407f2ed06cdc0cca8c2421023255886c12ea6d;hp=25d5f45964fc3b882a5590b60e4cb7e0229441d2;hpb=372714d2cbb87182a374ab2a5ecc4833d107425b;p=onak.git diff --git a/keydctl.c b/keydctl.c index 25d5f45..8712f63 100644 --- a/keydctl.c +++ b/keydctl.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 @@ -27,12 +26,10 @@ #include #include +#include "build-config.h" + #include "keyd.h" #include "onak-conf.h" -#include "version.h" - -/* HACK: We need to stop onak-conf.o requiring this. */ -void *DBINIT = NULL; static int keyd_fd = -1; static int verbose = 0; @@ -181,6 +178,8 @@ static void keyd_status(void) stats.command_stats[KEYD_CMD_STORE]); printf(" Delete key: %d\n", stats.command_stats[KEYD_CMD_DELETE]); + printf(" Update key: %d\n", + stats.command_stats[KEYD_CMD_UPDATE]); printf(" Search key: %d\n", stats.command_stats[KEYD_CMD_GET_TEXT]); printf(" Get full keyid: %d\n",