Changeset 3773:f5d38bf9bfdd for buffy.c
Legend:
- Unmodified
- Added
- Removed
-
buffy.c
r3597 r3773 440 440 first = 1; 441 441 buffylist[0] = 0; 442 pos += strlen (strncat (buffylist, _("New mail in "), sizeof (buffylist) - 1 - pos)); 442 pos += strlen (strncat (buffylist, _("New mail in "), sizeof (buffylist) - 1 - pos)); /* __STRNCAT_CHECKED__ */ 443 443 for (tmp = Incoming; tmp; tmp = tmp->next) 444 444 { … … 454 454 455 455 if (!first) 456 pos += strlen (strncat(buffylist + pos, ", ", sizeof(buffylist)-1-pos)); 456 pos += strlen (strncat(buffylist + pos, ", ", sizeof(buffylist)-1-pos)); /* __STRNCAT_CHECKED__ */ 457 457 458 458 /* Prepend an asterisk to mailboxes not already notified */ 459 459 if (!tmp->notified) 460 460 { 461 /* pos += strlen (strncat(buffylist + pos, "*", sizeof(buffylist)-1-pos)); */461 /* pos += strlen (strncat(buffylist + pos, "*", sizeof(buffylist)-1-pos)); __STRNCAT_CHECKED__ */ 462 462 tmp->notified = 1; 463 463 BuffyNotify--; 464 464 } 465 pos += strlen (strncat(buffylist + pos, path, sizeof(buffylist)-1-pos)); 465 pos += strlen (strncat(buffylist + pos, path, sizeof(buffylist)-1-pos)); /* __STRNCAT_CHECKED__ */ 466 466 first = 0; 467 467 } 468 468 if (!first && tmp) 469 469 { 470 strncat (buffylist + pos, ", ...", sizeof (buffylist) - 1 - pos); 470 strncat (buffylist + pos, ", ...", sizeof (buffylist) - 1 - pos); /* __STRNCAT_CHECKED__ */ 471 471 } 472 472 if (!first)
