jcs
/subtext
/amendments
/260
db: Oops, fix previous
jcs made amendment 260 over 2 years ago
--- db.c Sat Oct 1 20:42:40 2022
+++ db.c Sat Oct 1 21:32:07 2022
@@ -499,7 +499,7 @@ db_migrate(struct db *tdb, short is_new)
bile_read(tdb->bile, DB_CONFIG_RTYPE, 1, (char *)&new_config,
sizeof(new_config));
- sprintf(tdb->config.modem_parity, "8N1");
+ sprintf(new_config.modem_parity, "8N1");
bile_write(tdb->bile, DB_CONFIG_RTYPE, 1, &new_config,
sizeof(new_config));