Re: Color str_duping problem

From: Sean Butler (sbutler@DEVEAST.COM)
Date: 11/10/97


whoops :-P

I think it has to be:

inbuf = (char*) realloc(inbuf,
                                (strlen(outbuf) * sizeof(char))+sizeof(char));

sorry.

--Sean


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