bool
opt_get_bool(enum bool_opts opt)
{
- assert(opt >= 0 && opt < STR_MAX);
+ assert(opt >= 0 && opt < BOOL_MAX);
return bool_opts[opt];
}
free(line);
if(err) {
- printf("Press any key to continue...\n");
+ printf("Press enter to continue...\n");
fgetc(stdin);
}