Re: [CODE] [Newbie] two_arguments bug

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 06/30/98


um, char *mobtype; is a ptr pointing to no memory.  you need memory in that thar
string.
--Angus

______________________________ Reply Separator _________________________________
Subject: Re:  [CODE] [Newbie] two_arguments bug
Author:  INTERNET:CIRCLE@POST.QUEENSU.CA at CSERVE
Date:    6/30/98 1:59 PM

In a message dated 98-06-30 13:42:11 EDT, you write:

<< char *mobtype = '\0';
 char *startloc = '\0';

 That should fix that, I think. >>

No...still the same problem. MSVC5 automatically adds the \0 escape character
to the end. Thanks for the help anyway. :-)

Thanks,
-Elrelet


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