diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-04-26 20:20:14 +0200 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-04-26 20:20:14 +0200 |
| commit | b4c8b54c2b0288049d4264bcb9f2e1ef29e7edbc (patch) | |
| tree | 11a4067a38fbe25e45521457210a86cd2d26cb1e /FICS/command.c | |
| parent | d2cd69c27301fa385d06954328000f61493c5989 (diff) | |
process_prompt: added a default switch case
Diffstat (limited to 'FICS/command.c')
| -rw-r--r-- | FICS/command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FICS/command.c b/FICS/command.c index f7a2e3a..b9596cd 100644 --- a/FICS/command.c +++ b/FICS/command.c @@ -1104,6 +1104,12 @@ process_prompt(int p, char *command) case COM_LOGOUT: retval = COM_LOGOUT; break; + default: + pprintf(p, "%s: Unknown result when processing command.\n", + cmd); + retval = COM_OK; + pprintf(p, "%s", parray[p].prompt); + break; } return retval; |
