summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
49f9381)
GNU Complexity: 60 -> 59.
}
snprintf(prompt, sizeof(prompt), myprompt, invo_name);
}
snprintf(prompt, sizeof(prompt), myprompt, invo_name);
- for (;;) {
- if (!(argp = getans(prompt, aleqs))) {
- exit(EX_IOERR);
- }
+ while ((argp = getans(prompt, aleqs))) {
switch (smatch(*argp, aleqs)) {
case DISPSW:
/* display the msg being replied to or distributed */
switch (smatch(*argp, aleqs)) {
case DISPSW:
/* display the msg being replied to or distributed */