From 8452607b1f6c35c95f12f887f6c69849689cd8fd Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Fri, 7 Jun 2013 14:12:25 +0200 Subject: [PATCH] raise NONE from 0 to 1 to make empty the default --- ykpers.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ykpers.h b/ykpers.h index e9047b6..8b96d6c 100644 --- a/ykpers.h +++ b/ykpers.h @@ -186,9 +186,9 @@ int ykp_import_config(YKP_CONFIG *cfg, const char *buf, size_t len, int format); void ykp_set_acccode_type(YKP_CONFIG *cfg, unsigned int type); unsigned int ykp_get_acccode_type(const YKP_CONFIG *cfg); -#define YKP_ACCCODE_NONE 0x00 -#define YKP_ACCCODE_RANDOM 0x01 -#define YKP_ACCCODE_SERIAL 0x02 +#define YKP_ACCCODE_NONE 0x01 +#define YKP_ACCCODE_RANDOM 0x02 +#define YKP_ACCCODE_SERIAL 0x03 extern int * _ykp_errno_location(void); #define ykp_errno (*_ykp_errno_location()) -- 2.39.5