Re: [BUG]Dinamic Boards2

From: Chris (Sorren1@GEOCITIES.COM)
Date: 12/17/97


The reason this line of code is crashing is because you are trying to
assign old, which is NULL to board_messages.  Be sure old has something
before you assign it like:

If (old == NULL) {
        log("SYSERR:I can't reverse message order, board is NULL");
        return;
}

Demond LaZaro wrote:
>
> HELP!! I can't figure this out for the life of god! could someone
> interpret this and tell be the best solution?
> Code:
>   old=BOARD_MESSAGES(t_board);
>   if(!old || !MESG_NEXT(old)) {
>     return;
>   }
>
> #0  0x8060375 in reverse_message_order (t_board=0x0) at boards.c:180


     +------------------------------------------------------------+
     | 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/08/00 PST