On Thu, 24 Jun 1999, Andrey Fidrya wrote: >- if (strlen(str) > d->max_str) { >+ if (strlen(str) > d->max_str - 3) { /* Zmey: Reserve space for \r\n\0 */ I already had: if (strlen(str) + 1 > d->max_str) { so I made it: if (strlen(str) + 3 > d->max_str) { It'll be in the CVS shortly along with a couple trivial fixes. -- George Greer | Mailing list archives greerga@circlemud.org | http://post.queensu.ca/~listserv/wwwarch/circle.html +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST