]> err.no Git - yubikey-personalization/commitdiff
return 1 on success
authorKlas Lindfors <klas@yubico.com>
Tue, 27 Mar 2012 10:26:09 +0000 (12:26 +0200)
committerKlas Lindfors <klas@yubico.com>
Tue, 27 Mar 2012 10:26:09 +0000 (12:26 +0200)
ykpers.c

index d8a209ad339a7554ff6c04195f7c945f76f3bb6c..01628c89cded9b63a7e3029bc717bda3d5141e49 100644 (file)
--- a/ykpers.c
+++ b/ykpers.c
@@ -131,6 +131,7 @@ int ykp_configure_command(YKP_CONFIG *cfg, uint8_t command, YK_STATUS *st)
                return 0;
   }
   cfg->command = command;
+  return 1;
 }
 
 int ykp_configure_for(YKP_CONFIG *cfg, int confnum, YK_STATUS *st)