Re: [CODE] Autodiag totally confused now

From: Chris Hyde (slugger@CRYOGEN.FERRIS.EDU)
Date: 04/03/98


> that is nothing more than a statement like this:
>       *victim = '\0';
> I believe that without initialiation, the pointer will grab some chunk of
> memory that may already contain something and try to use that...
> I have had that error before in other things I was doing, and this is what
> worked for me. =)

Actually, now that I think about it...where do you actually set *victim
equal to the character it represents?
That is what you are missing I think...

Llewelyn of Erendor


     +------------------------------------------------------------+
     | 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