1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
***************
*** 347,357 ****
} else {
#ifdef VERBOSE
IF(verbose)
- sprintf(promptbuf,"\nNewsgroup %s not in .newsrc -- subscribe?",ngname);
ELSE
#endif
#ifdef TERSE
- sprintf(promptbuf,"\nSubscribe %s?",ngname);
#endif
reask_add:
in_char(promptbuf,'A',"ynYN");
--- 348,358 ----
} else {
#ifdef VERBOSE
IF(verbose)
+ snprintf(promptbuf,PBLEN,"\nNewsgroup %s not in .newsrc -- subscribe?",ngname);
ELSE
#endif
#ifdef TERSE
+ snprintf(promptbuf,PBLEN,"\nSubscribe %s?",ngname);
#endif
reask_add:
in_char(promptbuf,'A',"ynYN");
***************
*** 418,430 ****
else if (rcchar[ng] == NEGCHAR) { /* unsubscribed? */
#ifdef VERBOSE
IF(verbose)
- sprintf(promptbuf,
"\nNewsgroup %s is unsubscribed -- resubscribe?",ngname)
FLUSH;
ELSE
#endif
#ifdef TERSE
- sprintf(promptbuf,"\nResubscribe %s?",ngname)
FLUSH;
#endif
reask_unsub:
--- 419,431 ----
else if (rcchar[ng] == NEGCHAR) { /* unsubscribed? */
#ifdef VERBOSE
IF(verbose)
+ snprintf(promptbuf, PBLEN,
"\nNewsgroup %s is unsubscribed -- resubscribe?",ngname)
FLUSH;
ELSE
#endif
#ifdef TERSE
+ snprintf(promptbuf,PBLEN,"\nResubscribe %s?",ngname)
FLUSH;
#endif
reask_unsub:
|