AmendHub

Download:

jcs

/

subtext

/

amendments

/

437

db: Use LONG_MAX for CONFIG_TYPE_LONG field, we can't do ULONG_MAX


jcs made amendment 437 about 1 year ago
--- db.c Fri Mar 17 15:32:41 2023 +++ db.c Fri Mar 17 16:15:04 2023 @@ -119,7 +119,7 @@ struct struct_field config_fields[] = { 0, member_size(struct config, binkp_password) }, { "FTN Hub Binkp Poll Seconds", CONFIG_TYPE_LONG, offsetof(struct config, binkp_interval_seconds), - 1, ULONG_MAX }, + 1, LONG_MAX }, { "FTN Hub Binkp Delete After Processing", CONFIG_TYPE_BOOLEAN, offsetof(struct config, binkp_delete_done), 0, 0 },