dmc_path: a modem that already runs isn't itself to set, only its port

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvKupDGEromPgYtjG
This commit is contained in:
Claude committed 2026-11-13 14:32:33 +00:00
1 parent 622dab60b1
commit efe498686e
1 file changed
+1 -1
+1 -1
View File
@@ -109,7 +109,7 @@ static void make(dmc_path *p)
set ? p->where : "Not set yet");
step(&s[2], p->line == DMC_LINE_TCP ? DMC_KIND_SOFTMODEM :
DMC_KIND_MODEM, p->line == DMC_LINE_TCP ? "D-Modem" : "Modem",
set ? DMC_STEP_READY : DMC_STEP_SETUP,
DMC_STEP_READY,
p->running && p->state != DMC_CLOSED ? "Running" :
"Already running");
step(&s[3], DMC_KIND_PHONE_LINE, "Phone line", DMC_STEP_READY,