Re: [CODE] Crashing

From: Fili (cybom@NETROPOLIS.NET)
Date: 04/01/98


Suggestion:

peter hartman wrote:
> <snip>
> ACMD(do_players)
> {
>   FILE *fl;
>   struct char_file_u player;
>   int done=FALSE;
>   char buf[MAX_STRING_LENGTH];
            ^^^^^^^^^^^^^^^^^^^^
Change to char *buf;

>   char arg1[MAX_INPUT_LENGTH], arg2[MAX_INPUT_LENGTH];
>   int lowl, highl;
<snip>

That should add some length to the string.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST